language property

String get language

The language read-only property of the TextTrack interface returns the language of the text track.

This uses the same values as the HTML lang attribute. These values are documented in 5646, "Tags for Identifying Languages (also known as BCP 47)".

Implementation

external String get language;