Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConfirmDialog

Hierarchy

Index

Constructors

Properties

acceptButton: undefined | HTMLButtonElement
acceptCancellationSource: CancellationTokenSource = ...
activeElement: undefined | HTMLElement
closeButton: undefined | HTMLButtonElement
closeCrossNode: HTMLElement
confirmed: boolean = true
contentNode: HTMLDivElement
controlPanel: HTMLDivElement
errorMessageNode: HTMLDivElement
onDidChangeVisibility: Event<boolean> = ...
onDidChangeVisibilityEmitter: Emitter<boolean> = ...
onDidDispose: Event<void> = ...
onDidDisposeEmitter: Emitter<void> = ...
onScrollUp: Event<void> = ...
onScrollUpEmitter: Emitter<void> = ...
onScrollYReachEnd: Event<void> = ...
onScrollYReachEndEmitter: Emitter<void> = ...
reject: undefined | ((reason: any) => void)
resolve: undefined | ((value: undefined | boolean) => void)
scrollBar?: PerfectScrollbar
scrollOptions?: Options
titleNode: HTMLDivElement
toDispose: DisposableCollection = ...
toDisposeOnDetach: DisposableCollection = ...
validateCancellationSource: CancellationTokenSource = ...

Accessors

  • get value(): boolean

Methods

  • accept(): Promise<void>
  • addAcceptAction<K>(element: HTMLElement, ...additionalEventTypes: K[]): void
  • addAction<K>(element: HTMLElement, callback: (() => void), ...additionalEventTypes: K[]): void
  • addCloseAction<K>(element: HTMLElement, ...additionalEventTypes: K[]): void
  • addKeyListener<K>(element: HTMLElement, keysOrKeyCodes: KeyCode.Predicate | KeysOrKeyCodes, action: ((event: KeyboardEvent) => boolean | void | Object), ...additionalEventTypes: K[]): void
  • addUpdateListener<K>(element: HTMLElement, type: K, useCapture?: boolean): void
  • appendAcceptButton(text?: string): HTMLButtonElement
  • appendButton(text: string, primary: boolean): HTMLButtonElement
  • appendCloseButton(text?: string): HTMLButtonElement
  • clearFlag(flag: Flag): void
  • close(): void
  • createButton(text: string): HTMLButtonElement
  • createMessageNode(msg: string | HTMLElement): HTMLElement
  • disableScrollBarFocus(scrollContainer: HTMLElement): void
  • dispose(): void
  • handleEnter(event: KeyboardEvent): boolean | void
  • handleEscape(event: KeyboardEvent): boolean | void
  • onActivateRequest(msg: Message): void
  • onAfterAttach(msg: Message): void
  • onAfterDetach(msg: Message): void
  • onBeforeAttach(msg: Message): void
  • onBeforeDetach(msg: Message): void
  • onCloseRequest(msg: Message): void
  • onUpdateRequest(msg: Message): void
  • open(): Promise<undefined | boolean>
  • setFlag(flag: Flag): void
  • validate(): Promise<void>