Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Component<InputAttributes, HistoryState>
    • SearchInWorkspaceInput

Index

Constructors

Properties

addToHistory: DebouncedFunc<(() => void)> = ...

Add a nonempty current value to the history, if not already present. (Debounced, 1 second delay.)

input: RefObject<HTMLInputElement> = ...
LIMIT: number = 100

Accessors

  • get value(): string
  • set value(value: string): void

Methods

  • doAddToHistory(): void
  • nextValue(): void
  • onChange(e: ChangeEvent<HTMLInputElement>): void
  • onKeyDown(e: KeyboardEvent<HTMLInputElement>): void
  • previousValue(): void
  • render(): ReactNode
  • updateState(index: number, history?: string[]): void