Optional
cancelOptional
classes?: string[]Optional
confirmOptional
dialogOptional
headerOptional
hideOptional
hideOptional
skiplistener must be a function
Add new event listener
listener must be a function
Add new event listener that will be fired only once
listener must be a function
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: { Optional
bubbles?: booleanOptional
external?: booleanThe 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