Liking cljdoc? Tell your friends :D

web.speech.SpeechGrammar

The SpeechGrammar interface of the Web Speech API represents set of words or patterns of words that we want the recognition to recognize.

The SpeechGrammar interface of the Web Speech API represents
set of words or patterns of words that we want the recognition
to recognize.
raw docstring

constructorcljs

Constructor.

The SpeechGrammar constructor of the web.speech.SpeechGrammar interface creates a new SpeechGrammar object instance.

None.

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

Constructor.

The SpeechGrammar constructor of the `web.speech.SpeechGrammar` interface creates a new SpeechGrammar object instance.

None.

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

set-src!cljs

(set-src! this val)

Property.

The src property of the web.speech.SpeechGrammar interface and returns a string containing the grammar from within in the object.

var myGrammar = speechGrammarInstance.src;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src

Property.

The src property of the `web.speech.SpeechGrammar` interface
and returns a string containing the grammar from within in the
object.

`var myGrammar = speechGrammarInstance.src;`

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

set-weight!cljs

(set-weight! this val)

Property.

The optional weight property of the web.speech.SpeechGrammar sets and returns the weight of the SpeechGrammar object.

var myGrammarWeight = speechGrammarInstance.weight;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight

Property.

The optional weight property of the `web.speech.SpeechGrammar`
sets and returns the weight of the SpeechGrammar object.

`var myGrammarWeight = speechGrammarInstance.weight;`

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

srccljs

(src this)

Property.

The src property of the web.speech.SpeechGrammar interface and returns a string containing the grammar from within in the object.

var myGrammar = speechGrammarInstance.src;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/src

Property.

The src property of the `web.speech.SpeechGrammar` interface
and returns a string containing the grammar from within in the
object.

`var myGrammar = speechGrammarInstance.src;`

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

weightcljs

(weight this)

Property.

The optional weight property of the web.speech.SpeechGrammar sets and returns the weight of the SpeechGrammar object.

var myGrammarWeight = speechGrammarInstance.weight;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SpeechGrammar/weight

Property.

The optional weight property of the `web.speech.SpeechGrammar`
sets and returns the weight of the SpeechGrammar object.

`var myGrammarWeight = speechGrammarInstance.weight;`

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

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

× close