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