The specification currently says that togglechange events fire whenever the fire a toggle activation steps are run, even if the toggle doesn't actually change (for example, if toggle-trigger: toggle set <v> sets it to the current value, or if it is sticky and already at its maximum value).
This feels odd to me, although I haven't thought about the use cases. Should "togglechange" fire only when the toggle actually changes, or should it fire whenever the activation steps run even if there is no change?
The specification currently says that
togglechange
events fire whenever the fire a toggle activation steps are run, even if the toggle doesn't actually change (for example, iftoggle-trigger: toggle set <v>
sets it to the current value, or if it issticky
and already at its maximum value).This feels odd to me, although I haven't thought about the use cases. Should "togglechange" fire only when the toggle actually changes, or should it fire whenever the activation steps run even if there is no change?