dist/tinybind.esm.js
// Adds or removes the class from the element when value is true or false.
Adds or removes the class from the element when value is true or false.
Adds or removes the class from the element when value is true or false .
function _class(el, value) {
    var elClass = " " + el.className + " ";
    if (!value === elClass.indexOf(" " + this.arg + " ") > -1) {
      if (value) {
        el.className = el.className + " " + this.arg;
      } else {
        el.className = elClass.replace(" " + this.arg + " ", ' ').trim();
      }
    }
  }
function _class ( el , value ) { var elClass = " " + el . className + " " ; if ( ! value === elClass . indexOf ( " " + this . arg + " " ) > - 1 ) { if ( value ) { el . className = el . className + " " + this . arg ; } else { el . className = elClass . replace ( " " + this . arg + " " , ' ' ) . trim ( ) ; } } }
Adds or removes the class from the element when value is true or false.
Adds or removes the class from the element when value is true or false .