Class GscapeConfirmDialog

Hierarchy

Constructors

  • Parameters

    • Optional message: string
    • dialogTitle: string = 'Confirm'
    • type: "error" | "neutral" | "warning" = 'neutral'

    Returns GscapeConfirmDialog

Properties

_onCancel?: (() => void)

Type declaration

    • (): void
    • Returns void

_onConfirm?: ((...args: any[]) => void)

Type declaration

    • (...args: any[]): void
    • Parameters

      • Rest ...args: any[]

      Returns void

dialogTitle: string = 'Confirm'
enabled: boolean
isVisible: boolean
message?: string
modalBackground: HTMLDivElement
type: "error" | "neutral" | "warning" = 'neutral'
properties: PropertyDeclarations = ...
styles: CSSResultGroup = ...

Accessors

Methods

  • Parameters

    • Optional position: {
          x: number;
          y: number;
      }
      • x: number
      • y: number

    Returns void