CustomEventReceiver

Show Deprecated
Deprecated

Summary

Properties

Events


Fires when the receiver is attached to a different CustomEvent, when the CustomEventReceiver.Source property is changed.


Fires when the receiver is attached to a different CustomEvent instance when the CustomEventReceiver.Source property is changed.


Fires when the value of the CustomEvent's source is changed, passing the CustomEvent's new value.

Methods


Returns the current value of the reciever's CustomEventReceiver.Source property.

Properties

Source

This property attaches the CustomEventReceiver object to a CustomEvent.

Events

EventConnected

This event fires when the receiver is attached to a different CustomEvent, when the CustomEventReceiver.Source property is changed.

Parameters

event: Instance

EventDisconnected

This event fires when the receiver is attached to a different CustomEvent, when the CustomEventReceiver.Source property is changed.

Parameters

event: Instance

SourceValueChanged

Fires when the value of the CustomEvent's source is changed, passing the CustomEvent's new value.

Parameters

newValue: number

Methods

GetCurrentValue

This function returns the current value of the reciever's CustomEventReceiver.Source property.


Returns