Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • Construct a new widget.

    Parameters

    • Optional options: IOptions

      The options for initializing the widget.

    Returns BaseWidget

Properties

onDidChangeVisibility: Event<boolean> = ...
onDidChangeVisibilityEmitter: Emitter<boolean> = ...
onDidDispose: Event<void> = ...
onDidDisposeEmitter: Emitter<void> = ...
onScrollUp: Event<void> = ...
onScrollUpEmitter: Emitter<void> = ...
onScrollYReachEnd: Event<void> = ...
onScrollYReachEndEmitter: Emitter<void> = ...
scrollBar?: PerfectScrollbar
scrollOptions?: Options
toDispose: DisposableCollection = ...
toDisposeOnDetach: DisposableCollection = ...

Methods

  • addKeyListener<K>(element: HTMLElement, keysOrKeyCodes: KeyCode.Predicate | KeysOrKeyCodes, action: ((event: KeyboardEvent) => boolean | void | Object), ...additionalEventTypes: K[]): void
  • Type Parameters

    • K extends keyof HTMLElementEventMap

    Parameters

    • element: HTMLElement
    • keysOrKeyCodes: KeyCode.Predicate | KeysOrKeyCodes
    • action: ((event: KeyboardEvent) => boolean | void | Object)
        • (event: KeyboardEvent): boolean | void | Object
        • Parameters

          • event: KeyboardEvent

          Returns boolean | void | Object

    • Rest ...additionalEventTypes: K[]

    Returns void

  • addUpdateListener<K>(element: HTMLElement, type: K, useCapture?: boolean): void
  • clearFlag(flag: Flag): void
  • disableScrollBarFocus(scrollContainer: HTMLElement): void
  • dispose(): 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
  • setFlag(flag: Flag): void