searchAsYouType
searchAsYouType(
operationId,handler,queryPath,delay?):Action[]
Defined in: actions/helpers.ts:150
For a search box’s onChange: save the query to queryPath, then run
handler with it once typing pauses for delay ms. A search still
running when the next one starts is aborted.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
operationId | string | undefined |
handler | string | undefined |
queryPath | string[] | undefined |
delay? | number | 300 |
Returns
Section titled “Returns”Action[]