SpeechGrammarList: length 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 length read-only property of the SpeechGrammarList interface returns the number of SpeechGrammar objects contained in the SpeechGrammarList.

Value

A number indicating the number of SpeechGrammar objects contained in the SpeechGrammarList.

Specifications

Specification
Web Speech API
# dom-speechgrammarlist-length

Browser compatibility

See also