Tells, how the module should be destroyed. This usually involves removing all created HTML elements, and event handlers, that were attached to other than removed elements.
Called once, when JSR is ready to append this module to HTML DOM. All element creation and event handler should be bind here.
Tells, how the module should render. This function is called everytime something changes within the application.
Generated using TypeDoc
Module showing labels, that are displaying current value as text (by default beneath values).
Uses
.jsr_label
CSS class for each label. Hidden labels use.is-hidden
class.At any point of time, all possible label combinations (single and merged labels) are rendered. This is necessary for simpler code, but also for performance reasons. Merging labels is complex topic. Those labels, that are computed to not be visible, have
.is-hidden
class appended.