ProAct.ValueEvent Class
Constructs a ProAct.ValueEvent
. The value event contains information of a value property update.
Constructor
ProAct.ValueEvent
(
-
source
-
target
Parameters:
-
source
ProAct.EventIf there is an event that coused this event - it is the source. Can be null - no source.
-
target
ObjectThe thing that triggered this event. In most cases this should be instance of a ProAct.Property
Methods
Properties
array
Number
final
Array type events. Events for changes in {@link ProAct.Array}.
The args should consist of operation, index, old values, new values.
TODO Move it to the proact-arrays module.
value
Number
final
Value type events. Events for changing a value.
For properties the args of the event contain the ProAct Object, the old value of the property and the new value.