Class: shaka.ui.ContextMenu

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:
Source:

contextMenu_ :HTMLElement

Type:
  • HTMLElement
Source:

controlsContainer_ :HTMLElement

Type:
  • HTMLElement
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: