WebIDLpedia

SpeechGrammar interface

Definition

Web Speech API defines SpeechGrammar



// The object representing a speech grammar. This interface has been deprecated and exists in this spec for the sole purpose of maintaining backwards compatibility.
[Exposed=Window]
interface SpeechGrammar {
    attribute DOMString src;
    attribute float weight;
};

Methods and attributes that return objects implementing SpeechGrammar

Referring IDL interfaces/dictionaries