Skip to main content

ElementSearchQuery

Namespace with helpers for highlighting elements based on search queries

Index

Interfaces

Interfaces

Options

Options:

optionalclassList

classList?: readonly string[]

Custom classes to-be applied to the hightlighted text. Defaults to "highlight".

optionaltag

tag?: keyof HTMLElementTagNameMap

Custom tag to-be applied to the hightlighted text. Defaults to <em>.

Page Options