SpeechGrammarList: item() method
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 item getter of the SpeechGrammarList
interface is a standard getter — it allows individual SpeechGrammar
objects to be retrieved from the SpeechGrammarList using array syntax.
Syntax
js
item(index)
Parameters
index-
Index of the item to retrieve.
Return value
A SpeechGrammar object.
Specifications
| Specification |
|---|
| Web Speech API> # dom-speechgrammarlist-item> |