Updated documentation on property updates

2025-08-21 22:03:38 +02:00
parent a7325a26ef
commit cfcf04b8a7
2 changed files with 2 additions and 2 deletions

@@ -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);