DefaultDialog class

Implements

Dialog

Index

Constructors

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new DefaultDialog(options: DialogOptions): DefaultDialog

Parameters:


Protected Properties


alertElement

● alertElement: HTMLElement


bodyElement

● bodyElement: HTMLElement


footerElement

● footerElement: HTMLElement


headerElement

● headerElement: HTMLElement


slot

● slot: HTMLElement


windowElement

● windowElement: HTMLElement


Public Methods


cancel

▸ cancel(): void

Returns void


clearAlert

▸ clearAlert(): void

Returns void


close

▸ close(): void

Returns void


disableButtons

▸ disableButtons(): void

Returns void


enableButtons

▸ enableButtons(): void

Returns void


getRootElement

▸ getRootElement(): HTMLElement

Returns HTMLElement


open

▸ open(): void

Returns void


showAlert

▸ showAlert(text: string,reason?: string,replace?: boolean): void

Parameters:

  • text: string
  • reason: string, Optional
  • replace: boolean, Optional

Returns void


submit

▸ submit(): void

Returns void


Protected Methods


destroy

▸ destroy(): void

Returns void