removeClassName
removeClassName(element, className) -> HTMLElement
从 element
中移除参数
样例
<div id="mutsu" class="apple fruit food"></div>
$('mutsu').removeClassName('food');
// -> HTMLElement
$('mutsu').classNames();
// -> ['apple', 'fruit']
removeClassName(element, className) -> HTMLElement
从 element
中移除参数
<div id="mutsu" class="apple fruit food"></div>
$('mutsu').removeClassName('food');
// -> HTMLElement
$('mutsu').classNames();
// -> ['apple', 'fruit']