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:
overflowMenuButton_ :HTMLButtonElement
Type:
- HTMLButtonElement
- Source:
parent :HTMLElement
Type:
- HTMLElement
- Overrides:
- Source:
Methods
registerElement(name, factorynon-null)
Parameters:
Name | Type | Description |
---|---|---|
name |
string | |
factory |
shaka.extern.IUIElement.Factory |
- Source:
addOverflowMenu_()
- Source:
addOverflowMenuButton_()
- Source:
createChildren_()
- Source:
onOverflowMenuButtonClick_()
- Source:
updateAriaLabel_()
- Source: