Components
<AisVoiceSearch>
Voice-driven query input using the browser speech API.
Usage
<AisInstantSearch :configuration="configuration">
<AisVoiceSearch language="en-US" />
</AisInstantSearch>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
searchAsYouSpeak | boolean | connector default | Refines live while user speaks. |
language | string | browser default | Language passed to speech recognition. |
additionalQueryParameters | function | undefined | Maps transcript to extra search parameters. |
buttonTitle | string | "Search by voice" | Title for supported browsers. |
disabledButtonTitle | string | "Search by voice (not supported on this browser)" | Title for unsupported browsers. |
id | string | "" | Optional widget ID for repeated instances. |