CharmContainer Class
A container for charm tokens, used to control how many are displayed and provide categorization.
Item Index
Attributes
Methods
_afterInit
()
Sets up some attributes that are needed before render, but can only be calculated after initialization completes.
_hideSomeChildren
()
Hides all but the children before the designated cutoff. e.g. if cutoff is three, hides all but the first three items.
_showAll
()
Show all items.
_toggleExpand
()
Toggles between the _showAll condition and the _hideSomeChildern condition.
bindUI
()
Sets up events and binds them to listeners.
initializer
()
Initializer
renderUI
()
Sets up the DOM nodes and renders them to the DOM.
validator
(
-
val
Verify the cutoff is non-negative.
Parameters:
-
valNumberThe cutoff value being validated.
