SpeechGrammar: src property
Deprecated
Avoid using this feature in new projects. Advancements in speech recognition mean that speech grammars are not needed to achieve low error rates. This feature may be a candidate for removal from web standards or browsers.>
The src property of the SpeechGrammar interface
is used to get or set a string that contains the grammar within the SpeechGrammar object.
Value
A string representing the grammar.
Specifications
| Specification |
|---|
| Web Speech API> # dom-speechgrammar-src> |