Class ReactDialog<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
contentNodeRoot: Root
controlPanel: HTMLDivElement
errorMessageNode: HTMLDivElement
isMounted: boolean
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

  • Render the React widget in the DOM.

    • If the widget has been previously rendered, any subsequent calls will perform an update and only change the DOM if absolutely necessary.

    Returns ReactNode