lang property

String get lang

The lang property of the SpeechRecognition interface returns and sets the language of the current SpeechRecognition. If not specified, this defaults to the HTML lang attribute value, or the user agent's language setting if that isn't set either.

Implementation

external String get lang;
set lang (String value)

Implementation

external set lang(String value);