Class YAHOO.ext.util.CSS
Package: | YAHOO.ext.util |
Class: | CSS |
Extends: | Object |
Defined In: | CSS.js |
Class for manipulating CSS Rules
This class is a singleton and cannot be created directly.
Public Properties
This class has no public properties.
Public Methods
|
apply(HTMLElement el , String/Array selector ) : Boolean |
CSS |
Applies a rule to an element without adding the class |
|
getRule(String/Array selector , Boolean refreshCache ) : CSSRule |
CSS |
Gets an an individual CSS rule by selector(s) |
|
getRules(Boolean refreshCache ) : Object |
CSS |
Gets all css rules for the document |
|
updateRule(String/Array selector , String property , String value ) : Boolean |
CSS |
Updates a rule property |
Public Events
This class has no public events.
Method Details
apply
public function apply(HTMLElement el
, String/Array selector
)
Applies a rule to an element without adding the class
This method is defined by CSS.
getRule
public function getRule(String/Array selector
, Boolean refreshCache
)
Gets an an individual CSS rule by selector(s)
This method is defined by CSS.
getRules
public function getRules(Boolean refreshCache
)
Gets all css rules for the document
This method is defined by CSS.
updateRule
public function updateRule(String/Array selector
, String property
, String value
)
This method is defined by CSS.
yui-ext - Copyright © 2006 Jack Slocum. |
Yahoo! UI - Copyright © 2006 Yahoo! Inc.
All rights reserved.