Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 44 lines (43 sloc) 1.541 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
<?xml version="1.0"?>
<entry name="removeClass" type="method" return="jQuery">
<title>.removeClass()</title>
<desc>Removes the specified class(es) from each of the set of matched elements while animating all style changes.</desc>
<longdesc>
<xi:include href="../includes/class-animation-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
</longdesc>
<signature>
<argument name="className" type="String">
<desc>One or more class names (space separated) to be removed from the class attribute of each matched element.</desc>
</argument>
<xi:include href="../includes/animation-argument-duration.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<xi:include href="../includes/animation-argument-easing.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<xi:include href="../includes/animation-argument-complete.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
</signature>
<example>
<desc>Removes the class "big-blue" from the matched elements.</desc>
<css><![CDATA[
div {
width: 100px;
height: 100px;
background-color: #ccc;
}
.big-blue {
width: 200px;
height: 200px;
background-color: #00f;
}
]]></css>
<html><![CDATA[
<div class="big-blue"></div>
]]></html>
<code><![CDATA[
$( "div" ).click(function() {
$( this ).removeClass( "big-blue", 1000, "easeInBack" );
});
]]></code>
</example>
<category slug="effects"/>
<category slug="effects-core"/>
<category slug="overrides"/>
</entry>
Something went wrong with that request. Please try again.