AnsweredAssumed Answered

WAB 2.9 jimu CheckBox.js check:

Question asked by andrewhayden on Aug 2, 2018
Latest reply on Aug 2, 2018 by rscheitlin

I'm trying to understand jimu CheckBox.js check function.

 

Specifically, I'm wondering why checked class is added and then removed?

html.addClass(this.checkNode, 'checked jimu-icon-checked');
html.removeClass(this.checkNode, 'checked jimu-icon-checkbox');

 

As opposed to:

html.addClass(this.checkNode, 'checked jimu-icon-checked');
html.removeClass(this.checkNode, 'jimu-icon-checkbox');

Outcomes