WebIDLpedia

[DEPRECATED] SpeechGrammar interface

As of February 13, 2025, this name is no longer defined by a Web Platform specification

Definition

Web Speech API defines SpeechGrammar



// The object representing a speech grammar
[Exposed=Window]
interface SpeechGrammar {
    attribute DOMString src;
    attribute float weight;
};

Methods and attributes that return objects implementing SpeechGrammar

Referring IDL interfaces/dictionaries