Skip to content

Truly independent web browser

485 B
Raw Blame
// https://wicg.github.io/speech-api/#speechrecognitionevent
[SecureContext, Exposed=Window, ImplementedIn=Rust]
interface SpeechRecognitionEvent : Event {
    constructor(DOMString type, SpeechRecognitionEventInit eventInitDict);
    readonly attribute unsigned long resultIndex;
    readonly attribute SpeechRecognitionResultList results;
};

dictionary SpeechRecognitionEventInit : EventInit {
    unsigned long resultIndex = 0;
    required SpeechRecognitionResultList results;
};