Updated documentation on property updates
@@ -58,7 +58,7 @@ api.finishClientCondition(conditionId);
|
|||||||
|
|
||||||
### onPropertyUpdate
|
### 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
|
```javascript
|
||||||
api.onPropertyUpdate(propertyId, callback);
|
api.onPropertyUpdate(propertyId, callback);
|
||||||
|
|||||||
@@ -274,7 +274,7 @@ api.onNewClient(callback);
|
|||||||
|
|
||||||
### onModulePropertyUpdate
|
### 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
|
```javascript
|
||||||
api.onModulePropertyUpdate(propertyId, callback);
|
api.onModulePropertyUpdate(propertyId, callback);
|
||||||
|
|||||||
Reference in New Issue
Block a user