triggerEvent
Description​
Tells the UI layer to trigger an event with the given name and details.
- JavaScript
- C#
- Kotlin
triggerEvent(container: IContainer, eventName: string, details: unknown, originalEvent?: IMouseEventArgs): voidvoid TriggerEvent(IContainer container, string eventName, object details, IMouseEventArgs? originalEvent)fun triggerEvent(container: IContainer, eventName: String, details: Any, originalEvent: IMouseEventArgs?): Unit| Parameter | Summary |
|---|---|
containerAll | The element on which the event should be triggered. |
eventNameAll | The event that should be triggered. |
detailsAll | The object holding the details about the event. |
originalEventAll | The original event related to this custom event. |