2 "name" : "Roo.util.CSS",
5 "desc" : "Utility class for manipulating CSS rules",
13 "name" : "createStyleSheet",
14 "desc" : "Very simple dynamic creation of stylesheets from a text blob of rules. The text will wrapped in a style\ntag and appended to the HEAD of the document.",
16 "isConstructor" : false,
18 "memberOf" : "Roo.util.CSS",
26 "type" : "String|Object",
27 "desc" : "The text containing the css rules",
33 "desc" : "An id to add to the stylesheet for later removal",
40 "type" : "StyleSheet",
47 "desc" : "Gets all css rules for the document",
49 "isConstructor" : false,
51 "memberOf" : "Roo.util.CSS",
58 "name" : "refreshCache",
60 "desc" : "true to refresh the internal cache",
68 "desc" : "An object (hash) of rules indexed by selector"
73 "name" : "swapStyleSheet",
74 "desc" : "Dynamically swaps an existing stylesheet reference for a new one",
76 "isConstructor" : false,
78 "memberOf" : "Roo.util.CSS",
87 "desc" : "The id of an existing link tag to remove",
93 "desc" : "The href of the new stylesheet to include",
101 "name" : "updateRule",
102 "desc" : "Updates a rule property",
104 "isConstructor" : false,
106 "memberOf" : "Roo.util.CSS",
114 "type" : "String/Array",
115 "desc" : "If it's an array it tries each selector until it finds one. Stops immediately once one is found.",
121 "desc" : "The css property",
127 "desc" : "The new value for the property",
135 "desc" : "true If a rule was found and updated"
141 "desc" : "Gets an an individual CSS rule by selector(s)",
143 "isConstructor" : false,
145 "memberOf" : "Roo.util.CSS",
153 "type" : "String/Array",
154 "desc" : "The CSS selector or an array of selectors to try. The first selector that is found is returned.",
158 "name" : "refreshCache",
160 "desc" : "true to refresh the internal cache if you have recently updated any rules or added styles dynamically",
168 "desc" : "The CSS rule or null if one is not found"
173 "name" : "refreshCache",
174 "desc" : "Refresh the rule cache if you have dynamically added stylesheets",
176 "isConstructor" : false,
178 "memberOf" : "Roo.util.CSS",
189 "desc" : "An object (hash) of rules indexed by selector"
194 "name" : "removeStyleSheet",
195 "desc" : "Removes a style or link tag by id",
197 "isConstructor" : false,
199 "memberOf" : "Roo.util.CSS",
208 "desc" : "The id of the tag",