View as Markdown

API reference

@salmonui/inputs/speech-to-text

15 exported symbols: 2 functions, 10 interfaces, 2 types and 1 constant. Each name links its page with the signature, docs and members.

import { … } from '@salmonui/inputs/speech-to-text';

Functions

  • SpeechToTextButtonToggle button that starts and stops speech recognition: Button with aria-pressed while listening. The name stays constant; the state hint is the accessible des…
  • useSpeechRecognitionSpeech recognition over the Web Speech API or a replaceable recognizer. Options are read when events happen, so callbacks may be inline functions.

Interfaces

Types

Constants