2 "name" : "Roo.util.CSS",
7 "desc" : "Utility class for manipulating CSS rules",
12 "isBuilderTop" : false,
25 "name" : "createStyleSheet",
27 "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.",
28 "sig" : "(cssText, id)",
32 "isConstructor" : false,
43 "type" : "String|Object",
44 "desc" : "The text containing the css rules",
50 "desc" : "An id to add to the stylesheet for later removal",
57 "type" : "StyleSheet",
65 "desc" : "Gets all css rules for the document",
66 "sig" : "(refreshCache)",
70 "isConstructor" : false,
80 "name" : "refreshCache",
82 "desc" : "true to refresh the internal cache",
90 "desc" : "An object (hash) of rules indexed by selector"
95 "name" : "swapStyleSheet",
97 "desc" : "Dynamically swaps an existing stylesheet reference for a new one",
102 "isConstructor" : false,
114 "desc" : "The id of an existing link tag to remove",
120 "desc" : "The href of the new stylesheet to include",
127 "name" : "updateRule",
129 "desc" : "Updates a rule property",
130 "sig" : "(selector, property, value)",
134 "isConstructor" : false,
145 "type" : "String/Array",
146 "desc" : "If it's an array it tries each selector until it finds one. Stops immediately once one is found.",
152 "desc" : "The css property",
158 "desc" : "The new value for the property",
166 "desc" : "true If a rule was found and updated"
173 "desc" : "Gets an an individual CSS rule by selector(s)",
174 "sig" : "(selector, refreshCache)",
178 "isConstructor" : false,
189 "type" : "String/Array",
190 "desc" : "The CSS selector or an array of selectors to try. The first selector that is found is returned.",
194 "name" : "refreshCache",
196 "desc" : "true to refresh the internal cache if you have recently updated any rules or added styles dynamically",
204 "desc" : "The CSS rule or null if one is not found"
209 "name" : "refreshCache",
211 "desc" : "Refresh the rule cache if you have dynamically added stylesheets",
212 "sig" : "()\n{\n\n}",
216 "isConstructor" : false,
229 "desc" : "An object (hash) of rules indexed by selector"
234 "name" : "removeStyleSheet",
236 "desc" : "Removes a style or link tag by id",
241 "isConstructor" : false,
253 "desc" : "The id of the tag",