| Parameter | Description |
|---|---|
| userCallback | The delegate called when this callback is triggered. |
| useTrickleDown | Whether this callback is triggered during the TrickleDown phase of the event propagation or not. If not, it will be triggered during the BubbleUp phase (default). |
| invokeOnce | If true, callback will be unregistered automatically when invoked. |
EventCallbackDefinition The created callback instance
Creates a callback instance that will call the given userCallback delegate when registered on
an element that is part of the propagation chain of any event of type TEvent.
| Parameter | Description |
|---|---|
| userCallback | The delegate called when this callback is triggered. |
| useTrickleDown | Whether this callback is triggered during the TrickleDown phase of the event propagation or not. If not, it will be triggered during the BubbleUp phase (default). |
| invokeOnce | If true, callback will be unregistered automatically when invoked. |
EventCallbackDefinition<TElement> The created callback instance
Creates a callback instance that will call the given userCallback delegate when registered on
an element that is part of the propagation chain of any event of type TEvent.
The delegate will always be called with its second argument set to the element on which it's registered.
| Parameter | Description |
|---|---|
| userCallback | The delegate called when this callback is triggered. |
| arg | The identifier used to send specific argument values to the delegate for any element on which this callback is registered. |
| useTrickleDown | Whether this callback is triggered during the TrickleDown phase of the event propagation or not. If not, it will be triggered during the BubbleUp phase (default). |
| invokeOnce | If true, callback will be unregistered automatically when invoked. |
EventCallbackDefinition The created callback instance
Creates a callback instance that will call the given userCallback delegate when registered on
an element that is part of the propagation chain of any event of type TEvent.
The delegate will be called with its second argument set to whichever value the arg parameter holds
for the element on which it's registered.