Liking cljdoc? Tell your friends :D

web.speech.SpeechGrammarList

The SpeechGrammarList interface of the Web Speech API represents list of web.speech.SpeechGrammar objects containing words or of words that we want the recognition service to recognize.

The SpeechGrammarList interface of the Web Speech API represents
list of `web.speech.SpeechGrammar` objects containing words or
of words that we want the recognition service to recognize.
raw docstring

add-from-stringcljs

(add-from-string this string weight)

Method.

[Experimental]

The addFromString() method of the web.speech.SpeechGrammarList takes a grammar present in a specific web.dom.DOMString within code base (e.g. stored in a variable) and adds it to the SpeechGrammarList a new web.speech.SpeechGrammar object.

speechGrammarListInstance.addFromString(string,weight);

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromString

Method.

[Experimental]

The addFromString() method of the `web.speech.SpeechGrammarList`
takes a grammar present in a specific `web.dom.DOMString` within
code base (e.g. stored in a variable) and adds it to the SpeechGrammarList
a new `web.speech.SpeechGrammar` object.

`speechGrammarListInstance.addFromString(string,weight);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromString`
sourceraw docstring

add-from-uricljs

(add-from-uri this src weight)

Method.

[Experimental]

The addFromURI() method of the web.speech.SpeechGrammarList takes a grammar present at a specific URI and adds it to the as a new web.speech.SpeechGrammar object.

speechGrammarListInstance.addFromURI(src,weight);

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromURI

Method.

[Experimental]

The addFromURI() method of the `web.speech.SpeechGrammarList`
takes a grammar present at a specific URI and adds it to the
as a new `web.speech.SpeechGrammar` object.

`speechGrammarListInstance.addFromURI(src,weight);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/addFromURI`
sourceraw docstring

itemcljs

(item this)

Method.

[Experimental]

The item getter of the web.speech.SpeechGrammarList interface a standard getter — it allows individual web.speech.SpeechGrammar to be retrieved from the SpeechGrammarList using array syntax.

var myFirstGrammar = speechGrammarListInstance[0];

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/item

Method.

[Experimental]

The item getter of the `web.speech.SpeechGrammarList` interface
a standard getter — it allows individual `web.speech.SpeechGrammar`
to be retrieved from the SpeechGrammarList using array syntax.

`var myFirstGrammar = speechGrammarListInstance[0];`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/item`
sourceraw docstring

lengthcljs

(length this)

Property.

[Read Only] [Experimental]

The length read-only property of the web.speech.SpeechGrammarList returns the number of web.speech.SpeechGrammar objects contained the web.speech.SpeechGrammarList.

var myListLength = speechGrammarListInstance.length;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/length

Property.

[Read Only]
[Experimental]

The length read-only property of the `web.speech.SpeechGrammarList`
returns the number of `web.speech.SpeechGrammar` objects contained
the `web.speech.SpeechGrammarList`.

`var myListLength = speechGrammarListInstance.length;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammarList/length`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close