Constructor
new OverflowMenu(parentnon-null, controlsnon-null)
Parameters:
| Name | Type | Description |
|---|---|---|
parent |
HTMLElement | |
controls |
shaka.ui.Controls |
- Extends:
- Source:
Extends
Classes
Members
elementNamesToFactories_ :Map<string, !shaka.extern.IUIElement.Factory>
Type:
- Map<string, !shaka.extern.IUIElement.Factory>
- Source:
isSubMenu :boolean
Type:
- boolean
- Overrides:
- Implements:
- Source:
isSubMenuOpened :boolean
Type:
- boolean
- Overrides:
- Implements:
- Source:
overflowMenuButton_ :HTMLButtonElement
Type:
- HTMLButtonElement
- Source:
parent :HTMLElement
Type:
- HTMLElement
- Overrides:
- Implements:
- Source:
Methods
registerElement(name, factorynon-null, registerInContextopt)
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
name |
string | |||
factory |
shaka.extern.IUIElement.Factory | |||
registerInContext |
boolean |
<optional> |
true |
- Source:
addOverflowMenu_()
- Source:
addOverflowMenuButton_()
- Source:
adjustCustomStyle_()
- Source:
createChildren_()
- Source:
onOverflowMenuButtonClick_()
- Source:
updateAriaLabel_()
- Source: