DefaultDialog class
Implements
Section titled “Implements”Constructors
Section titled “Constructors”constructor
Section titled “constructor”⊕ new DefaultDialog(options: DialogOptions): DefaultDialog
Parameters:
Section titled “Parameters:”- options: DialogOptions
Protected Properties
Section titled “Protected Properties”alertElement
Section titled “alertElement”● alertElement: HTMLElement
bodyElement
Section titled “bodyElement”● bodyElement: HTMLElement
footerElement
Section titled “footerElement”● footerElement: HTMLElement
headerElement
Section titled “headerElement”● headerElement: HTMLElement
● slot: HTMLElement
windowElement
Section titled “windowElement”● windowElement: HTMLElement
Public Methods
Section titled “Public Methods”cancel
Section titled “cancel”▸ cancel(): void
Returns void
clearAlert
Section titled “clearAlert”▸ clearAlert(): void
Returns void
▸ close(): void
Returns void
disableButtons
Section titled “disableButtons”▸ disableButtons(): void
Returns void
enableButtons
Section titled “enableButtons”▸ enableButtons(): void
Returns void
getRootElement
Section titled “getRootElement”▸ getRootElement(): HTMLElement
Returns HTMLElement
▸ open(): void
Returns void
showAlert
Section titled “showAlert”▸ showAlert(text: string
,reason?: string
,replace?: boolean
): void
Parameters:
Section titled “Parameters:”- text:
string
- reason:
string
, Optional - replace:
boolean
, Optional
Returns void
submit
Section titled “submit”▸ submit(): void
Returns void
Protected Methods
Section titled “Protected Methods”destroy
Section titled “destroy”▸ destroy(): void
Returns void