Add new event listener
Add new event listener that will be fired only once
Dispatch event
Event object or event type as string
Optional
eventData: TDataCustom event data (used when event type as string is used as first argument)
Optional
extras: { bubbles?: boolean; external?: boolean }The ConfirmationDialog HTML element
The element that had focus before the ConfirmationDialog was opened
Remove event listener If no listener is specified, all listeners will be removed