Constructor
new ContextMenu(parentnon-null, controlsnon-null)
Parameters:
Name | Type | Description |
---|---|---|
parent |
HTMLElement | |
controls |
shaka.ui.Controls |
- Extends:
- Source:
Extends
Members
elementNamesToFactories_ :Map.<string, !shaka.extern.IUIElement.Factory>
Type:
- Map.<string, !shaka.extern.IUIElement.Factory>
- Source:
parent :HTMLElement
Type:
- HTMLElement
- Overrides:
- Implements:
- Source:
Methods
registerElement(name, factorynon-null)
Parameters:
Name | Type | Description |
---|---|---|
name |
string | |
factory |
shaka.extern.IUIElement.Factory |
- Source:
createChildren_()
- Source: