Class: shaka.ui.StatisticsButton

Constructor

new StatisticsButton(parentnon-null, controlsnon-null)

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

Extends

Classes

Factory

Members

button_ :HTMLButtonElement

Type:
  • HTMLButtonElement
Source:

container_ :HTMLElement

Type:
  • HTMLElement
Source:

currentStats_ :Object.<string, number>

Type:
  • Object.<string, number>
Source:

displayedElements_ :Object.<string, HTMLElement>

Type:
  • Object.<string, HTMLElement>
Source:

icon_ :HTMLElement

Type:
  • HTMLElement
Source:

nameSpan_ :HTMLElement

Type:
  • HTMLElement
Source:

parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Implements:
Source:

parseFrom_ :Object.<string, function(string): string>

Type:
  • Object.<string, function(string): string>
Source:

skippedStats_ :Array

Type:
  • Array
Source:

stateSpan_ :HTMLElement

Type:
  • HTMLElement
Source:

statisticsList_ :Array

Type:
  • Array
Source:

Methods

generateComponent_()

Source:

loadContainer_()

Source:

onClick_()

Source:

onTimerTick_()

Source:

updateLocalizedStrings_()

Source: