Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 44 lines (43 sloc) 1.541 kb
5723b40 @scottgonzalez Added .removeClass().
scottgonzalez authored
1 <?xml version="1.0"?>
2 <entry name="removeClass" type="method" return="jQuery">
3 <title>.removeClass()</title>
4 <desc>Removes the specified class(es) from each of the set of matched elements while animating all style changes.</desc>
5 <longdesc>
571eae1 @scottgonzalez Moved common class animation descripiton into includes.
scottgonzalez authored
6 <xi:include href="../includes/class-animation-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
4440d56 @scottgonzalez Created include for note about methods that override core methods.
scottgonzalez authored
7 <xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
5723b40 @scottgonzalez Added .removeClass().
scottgonzalez authored
8 </longdesc>
9 <signature>
10 <argument name="className" type="String">
544a969 @scottgonzalez Class animations: Specify that multiple class names must be space separa...
scottgonzalez authored
11 <desc>One or more class names (space separated) to be removed from the class attribute of each matched element.</desc>
5723b40 @scottgonzalez Added .removeClass().
scottgonzalez authored
12 </argument>
13 <xi:include href="../includes/animation-argument-duration.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
14 <xi:include href="../includes/animation-argument-easing.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
15 <xi:include href="../includes/animation-argument-complete.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
16 </signature>
17 <example>
18 <desc>Removes the class "big-blue" from the matched elements.</desc>
19 <css><![CDATA[
20 div {
21 width: 100px;
22 height: 100px;
23 background-color: #ccc;
24 }
25 .big-blue {
26 width: 200px;
27 height: 200px;
28 background-color: #00f;
29 }
30 ]]></css>
31 <html><![CDATA[
32 <div class="big-blue"></div>
33 ]]></html>
34 <code><![CDATA[
35 $( "div" ).click(function() {
36 $( this ).removeClass( "big-blue", 1000, "easeInBack" );
37 });
38 ]]></code>
39 </example>
40 <category slug="effects"/>
5d571af @scottgonzalez Changed core cateogry to ui-core and added effects-core.
scottgonzalez authored
41 <category slug="effects-core"/>
870a893 @scottgonzalez Added method overrides category.
scottgonzalez authored
42 <category slug="overrides"/>
5723b40 @scottgonzalez Added .removeClass().
scottgonzalez authored
43 </entry>
Something went wrong with that request. Please try again.