Class AbstractDialog<T>Abstract

Type Parameters

  • T

Hierarchy (view full)

Constructors

Properties

acceptButton: undefined | HTMLButtonElement
acceptCancellationSource: CancellationTokenSource = ...
activeElement: undefined | HTMLElement
closeButton: undefined | HTMLButtonElement
closeCrossNode: HTMLElement
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) => void)

Type declaration

    • (reason): void
    • Parameters

      • reason: any

      Returns void

resolve: undefined | ((value) => void)

Type declaration

    • (value): void
    • Parameters

      • value: undefined | T

      Returns void

scrollBar?: PerfectScrollbar
scrollOptions?: Options
titleNode: HTMLDivElement
toDispose: DisposableCollection = ...
toDisposeOnDetach: DisposableCollection = ...
validateCancellationSource: CancellationTokenSource = ...

Accessors

Methods

  • Type Parameters

    • K extends keyof HTMLElementEventMap

    Parameters

    • element: HTMLElement
    • Rest ...additionalEventTypes: K[]

    Returns void

  • Type Parameters

    • K extends keyof HTMLElementEventMap

    Parameters

    • element: HTMLElement
    • callback: (() => void)
        • (): void
        • Returns void

    • Rest ...additionalEventTypes: K[]

    Returns void

  • Type Parameters

    • K extends keyof HTMLElementEventMap

    Parameters

    • element: HTMLElement
    • Rest ...additionalEventTypes: K[]

    Returns void

  • This prevents tabbing outside the dialog by marking elements as inert, i.e., non-clickable and non-focussable.

    Parameters

    • elements: Element[] = ...

      the elements for which we disable tabbing. By default all elements within the body element are considered. Please note that this may also include other popups such as the suggestion overlay, the notification center or quick picks.

    Returns Disposable

    a disposable that will restore the previous tabbing behavior