Skip to content

SearchMatch beta ​

Interface of @v12-engine/client/kit

ts
export interface SearchMatch

Where the words typed were found in one of an item's keys: for a Highlight

Members ​

key ​

ts
key: string;

The key's name

ranges ​

ts
ranges: MatchRange[];

The letters of it that matched, in order, none overlapping

value ​

ts
value: string;

The key's text as it was searched (one of several, for a key of several)