interface SpeechSynthesis
implements EventTarget
import { type SpeechSynthesis } from "https://deno.land/x/evt@v2.5.2/lib/types/lib.dom.ts";
This Web Speech API interface is the controller interface for the speech service; this can be used to retrieve information about the synthesis voices available on the device, start and pause speech, and other commands besides.
Properties
onvoiceschanged: ((this: SpeechSynthesis, ev: Event) => any) | null
Methods
addEventListener<K extends keyof SpeechSynthesisEventMap>(): void
type: K,
listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof SpeechSynthesisEventMap>(): void
type: K,
listener: (this: SpeechSynthesis, ev: SpeechSynthesisEventMap[K]) => any,
options?: boolean | EventListenerOptions,