Class: shaka.ui.AdStatisticsButton

Constructor

new AdStatisticsButton(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|!Array.<number>)>

Type:
  • Object.<string, (number|!Array.<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:

stateSpan_ :HTMLElement

Type:
  • HTMLElement
Source:

statisticsList_ :Array

Type:
  • Array
Source:

Methods

generateComponent_()

Source:

loadContainer_()

Source:

onClick_()

Source:

onTimerTick_()

Source:

updateLocalizedStrings_()

Source: