package js.html
Available on jsThe
SpeechGrammarListinterface of the Web Speech API represents a list ofSpeechGrammarobjects containing words or patterns of words that we want the recognition service to recognize.Documentation SpeechGrammarList by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
new ()Throws:
null |
DOMError |
|---|
read only length:IntReturns the number of SpeechGrammar objects contained in the SpeechGrammarList.
addFromString (string:String, ?weight:Float):VoidThrows:
null |
DOMError |
|---|
addFromURI (src:String, ?weight:Float):VoidThrows:
null |
DOMError |
|---|
item (index:Int):SpeechGrammarThrows:
null |
DOMError |
|---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/SpeechGrammarList.html