MDN self-hosted library · e01.org

SpeechGrammarList: item() method

Web Speech API

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

Web Speech API

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

Syntax

item(index)

Parameters

  • index
  • : Index of the item to retrieve.

Return value

A SpeechGrammar object.

Specifications

Browser compatibility

See also