lang property

String get lang

The lang property of the SpeechSynthesisUtterance interface gets and sets the language of the utterance.

If unset, the app's (i.e. the html lang value) lang will be used, or the user-agent default if that is unset too.

Implementation

external String get lang;
set lang (String value)

Implementation

external set lang(String value);