Updated documentation on property updates
@@ -58,7 +58,7 @@ api.finishClientCondition(conditionId);
|
||||
|
||||
### onPropertyUpdate
|
||||
|
||||
Register a listener for when a property updates in a scene change.
|
||||
Register a listener for when a property updates in a scene change. The listener will also be called on initial module creation.
|
||||
|
||||
```javascript
|
||||
api.onPropertyUpdate(propertyId, callback);
|
||||
|
||||
@@ -274,7 +274,7 @@ api.onNewClient(callback);
|
||||
|
||||
### onModulePropertyUpdate
|
||||
|
||||
Register a listener for when a module property updates.
|
||||
Register a listener for when a module property updates. The listener will also be triggered on initial module creation and when the server starts up.
|
||||
|
||||
```javascript
|
||||
api.onModulePropertyUpdate(propertyId, callback);
|
||||
|
||||
Reference in New Issue
Block a user