MDN self-hosted library · e01.org

SpeechGrammar: src property

Web Speech API

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

Web Speech API

The src property of the SpeechGrammar interface is used to get or set a string that contains the grammar within the SpeechGrammar object.

Value

A string representing the grammar.

Specifications

Browser compatibility

See also