Class: shaka.ui.TextSelection
Constructor
new TextSelection(parentnon-null, controlsnon-null)
Parameters:
- Extends:
- Source:
Extends
Classes
- Factory
Members
backSpan :HTMLElement
Type:
- Overrides:
- Source:
captionsOffSpan_ :HTMLElement
Type:
- Source:
currentSelection :HTMLElement
Type:
- Overrides:
- Source:
icon :HTMLElement
Type:
- Overrides:
- Source:
nameSpan :HTMLElement
Type:
- Overrides:
- Source:
parent :HTMLElement
Type:
- Overrides:
- Source:
Methods
Parameters:
Name |
Type |
Description |
iconText |
string
|
|
- Overrides:
- Source:
onCaptionStateChange_()
- Source:
onTextTrackSelected_(tracknon-null) → {Promise}
Parameters:
- Source:
Returns:
-
Type
-
Promise
onTracksChanged_()
- Source:
updateLocalizedStrings_()
- Source:
updateTextLanguages_()
- Source: