Skip to content

Truly independent web browser

640 B
Raw Blame
// https://wicg.github.io/speech-api/#speechsynthesisutterance
[Exposed=Window, ImplementedIn=Rust]
interface SpeechSynthesisUtterance : EventTarget {
    constructor(optional DOMString text = "");

    attribute DOMString text;
    attribute DOMString lang;
    attribute SpeechSynthesisVoice? voice;
    attribute float volume;
    attribute float rate;
    attribute float pitch;

    attribute EventHandler onstart;
    attribute EventHandler onend;
    attribute EventHandler onerror;
    attribute EventHandler onpause;
    attribute EventHandler onresume;
    attribute EventHandler onmark;
    attribute EventHandler onboundary;
};