Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ADialog Abstract

Hierarchy

  • ADialog

Index

Constructors

Properties

dialog: Readonly<IDialogContext>
node: HTMLFormElement

Accessors

  • get attachment(): HTMLElement
  • get autoClose(): boolean
  • get level(): number

Methods

  • appendDialogButtons(): void
  • build(node: HTMLElement): boolean | void
  • cancel(): void
  • cleanUp(action: "cancel" | "confirm" | "handled"): void
  • destroy(action?: "cancel" | "confirm"): void
  • enableLivePreviews(selector: string | (HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement)[]): void
  • Parameters

    • selector: string | (HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement)[]

    Returns void

  • find<T>(selector: string): T
  • findInput(selector: string): HTMLInputElement
  • forEach<M, T>(selector: string, callback: (d: M, i: number) => T): T[]
  • Type parameters

    • M: Element

    • T

    Parameters

    • selector: string
    • callback: (d: M, i: number) => T
        • (d: M, i: number): T
        • Parameters

          • d: M
          • i: number

          Returns T

    Returns T[]

  • open(): void
  • reset(): void
  • showLivePreviews(): boolean
  • submit(): boolean
  • triggerSubmit(): boolean