MDN self-hosted library · e01.org

SpeechGrammar: weight property

Web Speech API

no runnable cells web-api-instance-property upstream source

Web Speech API

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

Value

A float representing the weight of the grammar, in the range 0.0–1.0.

Specifications

Browser compatibility

See also