Class: shaka.ui.TextSelection
Constructor
(export) new TextSelection(parentnon-null, controlsnon-null)
Parameters:
- Extends:
- Source:
Extends
Classes
- Factory
Members
(private, non-null) backFromCaptionsSpan_ :HTMLElement
Type:
- Source:
(private, non-null) captionIcon_ :HTMLElement
Type:
- Source:
(private, non-null) captionsNameSpan_ :HTMLElement
Type:
- Source:
(private, non-null) captionsOffSpan_ :HTMLElement
Type:
- Source:
(private, non-null) currentCaptions_ :HTMLElement
Type:
- Source:
(protected) parent :HTMLElement
Type:
- Overrides:
- Source:
Methods
(private) onCaptionClick_()
- Source:
(private) onCaptionStateChange_()
- Source:
(async, private) onTextLanguageSelected_(language) → (non-null) {Promise}
Parameters:
Name |
Type |
Description |
language |
string
|
|
- Source:
Returns:
-
Type
-
Promise
(private) onTracksChanged_()
- Source:
(private) updateLocalizedStrings_()
- Source:
(private) updateTextLanguages_()
- Source: