-These rules will be wrapped in a STYLE tag and appended to the HEAD of the document.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>cssText</code> : String<div class="sub-desc">The text containing the css rules</div></li><li><code>id</code> : String<div class="sub-desc">An id to add to the stylesheet for later removal</div></li></ul><strong>Returns:</strong><ul><li><code>StyleSheet</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-getRule"></a><b><a href="source/CSS.html#method-Ext.util.CSS-getRule">getRule</a></b>( <code>String/Array selector</code>, <code>Boolean refreshCache</code> )\r
- :\r
- CSSRule<div class="mdesc"><div class="short">Gets an an individual CSS rule by selector(s)</div><div class="long">Gets an an individual CSS rule by selector(s)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String/Array<div class="sub-desc">The CSS selector or an array of selectors to try. The first selector that is found is returned.</div></li><li><code>refreshCache</code> : Boolean<div class="sub-desc">true to refresh the internal cache if you have recently updated any rules or added styles dynamically</div></li></ul><strong>Returns:</strong><ul><li><code>CSSRule</code><div class="sub-desc">The CSS rule or null if one is not found</div></li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-getRules"></a><b><a href="source/CSS.html#method-Ext.util.CSS-getRules">getRules</a></b>( <code>Boolean refreshCache</code> )\r
- :\r
- Object<div class="mdesc"><div class="short">Gets all css rules for the document</div><div class="long">Gets all css rules for the document<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>refreshCache</code> : Boolean<div class="sub-desc">true to refresh the internal cache</div></li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">An object (hash) of rules indexed by selector</div></li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-refreshCache"></a><b><a href="source/CSS.html#method-Ext.util.CSS-refreshCache">refreshCache</a></b>()\r
- :\r
- Object<div class="mdesc"><div class="short">Refresh the rule cache if you have dynamically added stylesheets</div><div class="long">Refresh the rule cache if you have dynamically added stylesheets<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">An object (hash) of rules indexed by selector</div></li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-removeStyleSheet"></a><b><a href="source/CSS.html#method-Ext.util.CSS-removeStyleSheet">removeStyleSheet</a></b>( <code>String id</code> )\r
- :\r
- void<div class="mdesc"><div class="short">Removes a style or link tag by id</div><div class="long">Removes a style or link tag by id<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>id</code> : String<div class="sub-desc">The id of the tag</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-swapStyleSheet"></a><b><a href="source/CSS.html#method-Ext.util.CSS-swapStyleSheet">swapStyleSheet</a></b>( <code>String id</code>, <code>String url</code> )\r
- :\r
- void<div class="mdesc"><div class="short">Dynamically swaps an existing stylesheet reference for a new one</div><div class="long">Dynamically swaps an existing stylesheet reference for a new one<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>id</code> : String<div class="sub-desc">The id of an existing link tag to remove</div></li><li><code>url</code> : String<div class="sub-desc">The href of the new stylesheet to include</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-updateRule"></a><b><a href="source/CSS.html#method-Ext.util.CSS-updateRule">updateRule</a></b>( <code>String/Array selector</code>, <code>String property</code>, <code>String value</code> )\r
- :\r
+These rules will be wrapped in a STYLE tag and appended to the HEAD of the document.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>cssText</code> : String<div class="sub-desc">The text containing the css rules</div></li><li><code>id</code> : String<div class="sub-desc">An id to add to the stylesheet for later removal</div></li></ul><strong>Returns:</strong><ul><li><code>StyleSheet</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-getRule"></a><b><a href="source/CSS.html#method-Ext.util.CSS-getRule">getRule</a></b>( <code>String/Array selector</code>, <code>Boolean refreshCache</code> )
+ :
+ CSSRule<div class="mdesc"><div class="short">Gets an an individual CSS rule by selector(s)</div><div class="long">Gets an an individual CSS rule by selector(s)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String/Array<div class="sub-desc">The CSS selector or an array of selectors to try. The first selector that is found is returned.</div></li><li><code>refreshCache</code> : Boolean<div class="sub-desc">true to refresh the internal cache if you have recently updated any rules or added styles dynamically</div></li></ul><strong>Returns:</strong><ul><li><code>CSSRule</code><div class="sub-desc">The CSS rule or null if one is not found</div></li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-getRules"></a><b><a href="source/CSS.html#method-Ext.util.CSS-getRules">getRules</a></b>( <code>Boolean refreshCache</code> )
+ :
+ Object<div class="mdesc"><div class="short">Gets all css rules for the document</div><div class="long">Gets all css rules for the document<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>refreshCache</code> : Boolean<div class="sub-desc">true to refresh the internal cache</div></li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">An object (hash) of rules indexed by selector</div></li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-refreshCache"></a><b><a href="source/CSS.html#method-Ext.util.CSS-refreshCache">refreshCache</a></b>()
+ :
+ Object<div class="mdesc"><div class="short">Refresh the rule cache if you have dynamically added stylesheets</div><div class="long">Refresh the rule cache if you have dynamically added stylesheets<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">An object (hash) of rules indexed by selector</div></li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-removeStyleSheet"></a><b><a href="source/CSS.html#method-Ext.util.CSS-removeStyleSheet">removeStyleSheet</a></b>( <code>String id</code> )
+ :
+ void<div class="mdesc"><div class="short">Removes a style or link tag by id</div><div class="long">Removes a style or link tag by id<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>id</code> : String<div class="sub-desc">The id of the tag</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-swapStyleSheet"></a><b><a href="source/CSS.html#method-Ext.util.CSS-swapStyleSheet">swapStyleSheet</a></b>( <code>String id</code>, <code>String url</code> )
+ :
+ void<div class="mdesc"><div class="short">Dynamically swaps an existing stylesheet reference for a new one</div><div class="long">Dynamically swaps an existing stylesheet reference for a new one<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>id</code> : String<div class="sub-desc">The id of an existing link tag to remove</div></li><li><code>url</code> : String<div class="sub-desc">The href of the new stylesheet to include</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">CSS</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.util.CSS-updateRule"></a><b><a href="source/CSS.html#method-Ext.util.CSS-updateRule">updateRule</a></b>( <code>String/Array selector</code>, <code>String property</code>, <code>String value</code> )
+ :