Object | +--YAHOO.ext.util.CSS
| Method Summary * Parameter types in italic indicate optional parameters | |
Object
|
apply(el, <String/Array> selector)
Applies a rule to an element without adding the class |
Object
|
applyFirst(el, id, selector)
|
Object
|
getRule(selector, refreshCache)
Searches for a rule by selector |
Object
|
getRules(refreshCache)
Gets all css rules for the document |
Object
|
revert(el, selector)
|
Object
|
revertFirst(el, id, selector)
|
Object
|
updateRule(<String/Array> selector, property, value)
Updates a rule property |
| Method Detail |
Object apply(el, <String/Array> selector)
selector - If it's an array it tries each selector until it finds one. Stops immediately once one is found.
Object applyFirst(el, id, selector)
Object getRule(selector, refreshCache)
Object getRules(refreshCache)
Object revert(el, selector)
Object revertFirst(el, id, selector)
Object updateRule(<String/Array> selector, property, value)
selector - If it's an array it tries each selector until it finds one. Stops immediately once one is found.