| Parameter | Description |
|---|---|
| userCallback | The delegate called when this callback is triggered. |
| callbackOptions | Extra properties to set for the callback. Use the CallbackOptions.TrickleDown flag to specify the propagation phase. Use CallbackOptions.Once to automatically unregister this callback 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. |
| callbackOptions | Extra properties to set for the callback. Use the CallbackOptions.TrickleDown flag to specify the propagation phase. Use CallbackOptions.Once to automatically unregister this callback 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. |
| callbackOptions | Extra properties to set for the callback. Use the CallbackOptions.TrickleDown flag to specify the propagation phase. Use CallbackOptions.Once to automatically unregister this callback 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.