Interface: shaka.extern.IUIMenuGroup

Extends

Members

backButton :HTMLButtonElement

Type:
  • HTMLButtonElement
Inherited From:
Source:

backSpan :HTMLElement

Type:
  • HTMLElement
Inherited From:
Source:

button :HTMLButtonElement

Type:
  • HTMLButtonElement
Inherited From:
Source:

currentSelection :HTMLElement

Type:
  • HTMLElement
Inherited From:
Source:

isInMenuGroup :boolean

Type:
  • boolean
Inherited From:
Source:

isSubMenu :boolean

Type:
  • boolean
Inherited From:
Source:

isSubMenuOpened :boolean

Type:
  • boolean
Inherited From:
Source:
Type:
  • HTMLElement
Inherited From:
Source:

nameSpan :HTMLElement

Type:
  • HTMLElement
Inherited From:
Source:

parent :HTMLElement

Type:
  • HTMLElement
Inherited From:
Source:

Methods

checkAvailability()

Called when a submenu opens or closes. Override to show/hide this element.
Inherited From:
Source:

getChildElementNames() → {Array<string>}

Returns the names of the elements inside the group, as registered with shaka.ui.OverflowMenu.registerElement.
Source:
Returns:
Type
Array<string>

getName() → {string}

Returns the localized name of the group, shown on its button and as the title of its submenu.
Source:
Returns:
Type
string

getSummaryElementName() → {string}

Returns the name of the element, among getChildElementNames(), whose current selection is shown on the group button, or null to show none.
Source:
Returns:
Type
string

updateLocalizedStrings()

Called when the locale changes. Override to update UI strings.
Inherited From:
Source: