Notify

The Notify accessor (class ) turns changeValue calls on the attribute to which it is attached into pushValue calls. Values that are watching the given attribute will execute all their behaviors.

This accessor triggers behaviors of other attributes that depend on the notifying value. For example, you can make a change in the Threshold attribute to also re-evaluate the Temperature attribute. This can be done by attaching a Notify accessor to the Threshold attribute, and a Watch (Threshold) behavior to the Temperature attribute.

Parameters

  • No parameters.

Example

The following example shows the X_Scale attributes of the transformer prototype in the samples library.