Counter

Counter

new Counter(e)

Description:
  • Counter UI element class. Use data-countername HTML tag to set element name.
Source:
Parameters:
Name Type Description
e

Methods

doCountBack()

Description:
  • Decrement counter.
Source:

doCountForward()

Description:
  • Increment counter.
Source:

getValue() → {number|number|*}

Description:
  • Get counter value.
Source:
Returns:
Type
number | number | *

setValue(value) → {boolean}

Description:
  • Set counter value.
Source:
Parameters:
Name Type Description
value
Returns:
Type
boolean