Constructor
(export) new OverflowMenu(parentnon-null, controlsnon-null)
Parameters:
Name | Type | Description |
---|---|---|
parent |
HTMLElement | |
controls |
shaka.ui.Controls |
- Extends:
- Source:
Extends
Classes
Members
(private, static, non-null) elementNamesToFactories_ :Map.<string, !shaka.extern.IUIElement.Factory>
Type:
- Map.<string, !shaka.extern.IUIElement.Factory>
- Source:
(private, non-null) children_ :Array.<shaka.extern.IUIElement>
Type:
- Array.<shaka.extern.IUIElement>
- Source:
(private, non-null) overflowMenu_ :HTMLElement
Type:
- HTMLElement
- Source:
(private, non-null) overflowMenuButton_ :HTMLElement
Type:
- HTMLElement
- Source:
(export) parent :HTMLElement
Type:
- HTMLElement
- Overrides:
- Source:
Methods
(export, static) registerElement(name, factorynon-null)
Parameters:
Name | Type | Description |
---|---|---|
name |
string | |
factory |
shaka.extern.IUIElement.Factory |
- Source:
(private) addOverflowMenu_()
- Source:
(private) addOverflowMenuButton_()
- Source:
(private) createChildren_()
- Source:
(private) onOverflowMenuButtonClick_()
- Source:
(private) updateAriaLabel_()
- Source: