Options
All
  • Public
  • Public/Protected
  • All
Menu

The search box widget.

Hierarchy

Index

Constructors

Properties

_isFiltering: boolean = false
closeEmitter: Emitter<void> = ...
filter: undefined | HTMLElement
filterToggleEmitter: Emitter<boolean> = ...
input: HTMLSpanElement
nextEmitter: Emitter<void> = ...
onDidChangeVisibility: Event<boolean> = ...
onDidChangeVisibilityEmitter: Emitter<boolean> = ...
onDidDispose: Event<void> = ...
onDidDisposeEmitter: Emitter<void> = ...
onScrollUp: Event<void> = ...
onScrollUpEmitter: Emitter<void> = ...
onScrollYReachEnd: Event<void> = ...
onScrollYReachEndEmitter: Emitter<void> = ...
previousEmitter: Emitter<void> = ...
scrollBar?: PerfectScrollbar
scrollOptions?: Options
textChangeEmitter: Emitter<undefined | string> = ...
toDispose: DisposableCollection = ...
toDisposeOnDetach: DisposableCollection = ...
MAX_CONTENT_LENGTH: number = 15
SPECIAL_KEYS: Key[] = ...

Accessors

  • get isFiltering(): boolean
  • get onClose(): Event<void>
  • get onFilterToggled(): Event<boolean>
  • get onNext(): Event<void>
  • get onPrevious(): Event<void>
  • get onTextChange(): Event<undefined | string>

Methods

  • 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
  • canHandle(keyCode: undefined | KeyCode): boolean
  • clearFlag(flag: Flag): void
  • createContent(): { close: undefined | HTMLElement; container: HTMLElement; filter: undefined | HTMLElement; input: HTMLSpanElement; next: undefined | HTMLElement; previous: undefined | HTMLElement }
  • Returns { close: undefined | HTMLElement; container: HTMLElement; filter: undefined | HTMLElement; input: HTMLSpanElement; next: undefined | HTMLElement; previous: undefined | HTMLElement }

    • close: undefined | HTMLElement
    • container: HTMLElement
    • filter: undefined | HTMLElement
    • input: HTMLSpanElement
    • next: undefined | HTMLElement
    • previous: undefined | HTMLElement
  • disableScrollBarFocus(scrollContainer: HTMLElement): void
  • dispose(): void
  • doFireFilterToggle(toggleTo?: boolean): void
  • fireClose(): void
  • fireFilterToggle(): void
  • fireNext(): void
  • firePrevious(): void
  • fireTextChange(input: undefined | string): void
  • getTrimmedContent(data: string): string
  • handle(event: KeyboardEvent): void
  • handleArrowDown(): void
  • handleArrowUp(): void
  • isCtrlBackspace(keyCode: KeyCode): boolean
  • onAfterAttach(msg: Message): void
  • onAfterDetach(msg: Message): void
  • onBeforeAttach(msg: Message): void
  • onBeforeDetach(msg: Message): void
  • onBeforeHide(): void
  • onCloseRequest(msg: Message): void
  • onUpdateRequest(msg: Message): void
  • setFlag(flag: Flag): void