Skip to content

AbstractSearchComponent

Extended by

Properties

app

app: App

Reference to the app


containerEl

containerEl: HTMLElement

The container element in which the search component exists (i.e. Editor)


replaceInputEl

replaceInputEl: HTMLInputElement

Container for the replacement input field


scope

scope: Scope

Keyscope for search component


searchButtonContainerEl

searchButtonContainerEl: HTMLElement

Container for all the action buttons


searchContainerEl

searchContainerEl: HTMLElement

Container for the search component itself


searchInputEl

searchInputEl: HTMLInputElement

Container for the search input field

Methods

getQuery()

getQuery(): string

Returns the current search query

Returns

string


goToNextInput()

goToNextInput(event): unknown

Switch to the next inputElement

Parameters

event: KeyboardEvent

Returns

unknown


onEnter()

onEnter(event): unknown

Invokes findNextOrReplace

Parameters

event: KeyboardEvent

Returns

unknown


onShiftEnter()

onShiftEnter(event): unknown

Invokes findPrevious

Parameters

event: KeyboardEvent

Returns

unknown