Class: shaka.ui.TextSelection
Constructor
new TextSelection(parentnon-null, controlsnon-null)
Parameters:
- Extends:
- Source:
Extends
Classes
- Factory
Members
Type:
- Overrides:
- Implements:
- Source:
Type:
- Overrides:
- Implements:
- Source:
Type:
- Overrides:
- Implements:
- Source:
backSpan :HTMLElement
Type:
- Overrides:
- Implements:
- Source:
Type:
- Overrides:
- Implements:
- Source:
captionsOffSpan_ :HTMLElement
Type:
- Source:
Type:
- Overrides:
- Implements:
- Source:
currentSelection :HTMLElement
Type:
- Overrides:
- Implements:
- Source:
Type:
- Overrides:
- Implements:
- Source:
icon :HTMLElement
Type:
- Overrides:
- Implements:
- Source:
Type:
- Overrides:
- Implements:
- Source:
Type:
- Overrides:
- Implements:
- Source:
nameSpan :HTMLElement
Type:
- Overrides:
- Implements:
- Source:
parent :HTMLElement
Type:
- Overrides:
- Implements:
- Source:
Type:
- Overrides:
- Implements:
- Source:
Type:
- Overrides:
- Implements:
- 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: