SpeechSynthesisEvent
This Web Speech API interface contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service.
interface SpeechSynthesisEvent extends Event {
readonly charIndex: number;
readonly charLength: number;
readonly elapsedTime: number;
readonly name: string;
readonly utterance: SpeechSynthesisUtterance;
}var SpeechSynthesisEvent: {
prototype: SpeechSynthesisEvent;
new (type: string, eventInitDict: SpeechSynthesisEventInit): SpeechSynthesisEvent;
};