Constructor
new TextOpacityMenu(parentnon-null, controlsnon-null, icon, configName, opacitiesnon-null, nameId, longNameId)
Parameters:
| Name | Type | Description |
|---|---|---|
parent |
HTMLElement | |
controls |
shaka.ui.Controls | |
icon |
string | |
configName |
string | The name of the opacity in the text displayer configuration. |
opacities |
Array<number> | |
nameId |
string | The localized name of the menu inside a menu group. |
longNameId |
string | The localized name of the menu elsewhere. |
- Extends:
- shaka.ui.TextStyleMenu<number>
- Source:
Extends
- shaka.ui.TextStyleMenu<number>
Members
Methods
getCurrentValueLabel()
- Source:
getItems()
- Source:
getLabelForItem()
- Source:
getPreviewConfigForItem()
- Source:
onItemSelected()
- Source:
updateLocalizedStrings()
- Source: