dist/chirashi.common.js
function removeClass(elements) {
  for (var _len = arguments.length, classes = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
    classes[_key - 1] = arguments[_key];
  }

  return _updateClassList(elements, 'remove', classes);
}
function removeClass(elements) {
  for (var _len = arguments.length, classes = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
    classes[_key - 1] = arguments[_key];
  }

  return _updateClassList(elements, 'remove', classes);
}
function removeClass ( elements ) { for ( var _len = arguments . length , classes = Array ( _len > 1 ? _len - 1 : 0 ) , _key = 1 ; _key < _len ; _key ++ ) { classes [ _key - 1 ] = arguments [ _key ] ; } return _updateClassList ( elements , 'remove' , classes ) ; }
Iterates over classes and remove it from each element of elements.
@param {(string|Array|NodeList|HTMLCollection|Element)} elements - The iterable, selector or elements.
@param {...string} classes - Classes to remove.
@return {Array} iterable - The getElements' result for chaining.
@example //esnext
import { createElement, removeClass } from 'chirashi'
const maki = createElement('.maki.salmon.cheese.wasabi') //returns: <div class="maki salmon cheese wasabi"></div>
removeClass(maki, 'cheese', 'wasabi') //returns: [<div class="maki salmon"></div>]
@example //es5
var maki = Chirashi.createElement('.maki.salmon.cheese.wasabi') //returns: <div class="maki salmon cheese wasabi"></div>
Chirashi.removeClass(maki, 'cheese', 'wasabi') //returns: [<div class="maki salmon"></div>]
Iterates over classes and remove it from each element of elements .