Class: shaka.ui.OverflowMenu

Constructor

(export) new OverflowMenu(parentnon-null, controlsnon-null)

Parameters:
Name Type Description
parent HTMLElement
controls shaka.ui.Controls
Extends:
Source:

Extends

Classes

Factory

Members

(private, static, non-null) elementNamesToFactories_ :Map.<string, !shaka.extern.IUIElement.Factory>

Type:
Source:

(private, non-null) children_ :Array.<shaka.extern.IUIElement>

Type:
Source:

(protected) controls :shaka.ui.Controls

Type:
Overrides:
Source:

(private) controlsContainer_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) overflowMenu_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) overflowMenuButton_ :HTMLElement

Type:
  • HTMLElement
Source:

(protected) parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(protected) player :shaka.Player

Type:
Overrides:
Source:

(protected) video :HTMLMediaElement

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