Welshman Docs / @welshman/app / SearchOptions
Type Alias: SearchOptions<V, T> ​
SearchOptions<
V
,T
> =object
Defined in: app/src/search.ts:15
Type Parameters ​
V ​
V
T ​
T
Properties ​
fuseOptions? ​
optional
fuseOptions:IFuseOptions
<T
>
Defined in: app/src/search.ts:17
getValue() ​
getValue: (
item
) =>V
Defined in: app/src/search.ts:16
Parameters ​
item ​
T
Returns ​
V
onSearch()? ​
optional
onSearch: (term
) =>void
Defined in: app/src/search.ts:18
Parameters ​
term ​
string
Returns ​
void
sortFn()? ​
optional
sortFn: (items
) =>any
Defined in: app/src/search.ts:19
Parameters ​
items ​
FuseResult
<T
>
Returns ​
any