2 "name" : "Roo.util.CSS",
5 "desc" : "Utility class for manipulating CSS rules",
21 "name" : "createStyleSheet",
23 "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.",
24 "sig" : "(cssText, id)",
28 "isConstructor" : false,
39 "type" : "String|Object",
40 "desc" : "The text containing the css rules",
46 "desc" : "An id to add to the stylesheet for later removal",
53 "type" : "StyleSheet",
61 "desc" : "Gets all css rules for the document",
62 "sig" : "(refreshCache)",
66 "isConstructor" : false,
76 "name" : "refreshCache",
78 "desc" : "true to refresh the internal cache",
86 "desc" : "An object (hash) of rules indexed by selector"
91 "name" : "swapStyleSheet",
93 "desc" : "Dynamically swaps an existing stylesheet reference for a new one",
98 "isConstructor" : false,
110 "desc" : "The id of an existing link tag to remove",
116 "desc" : "The href of the new stylesheet to include",
123 "name" : "updateRule",
125 "desc" : "Updates a rule property",
126 "sig" : "(selector, property, value)",
130 "isConstructor" : false,
141 "type" : "String/Array",
142 "desc" : "If it's an array it tries each selector until it finds one. Stops immediately once one is found.",
148 "desc" : "The css property",
154 "desc" : "The new value for the property",
162 "desc" : "true If a rule was found and updated"
169 "desc" : "Gets an an individual CSS rule by selector(s)",
170 "sig" : "(selector, refreshCache)",
174 "isConstructor" : false,
185 "type" : "String/Array",
186 "desc" : "The CSS selector or an array of selectors to try. The first selector that is found is returned.",
190 "name" : "refreshCache",
192 "desc" : "true to refresh the internal cache if you have recently updated any rules or added styles dynamically",
200 "desc" : "The CSS rule or null if one is not found"
205 "name" : "refreshCache",
207 "desc" : "Refresh the rule cache if you have dynamically added stylesheets",
208 "sig" : "()\n{\n\n}",
212 "isConstructor" : false,
225 "desc" : "An object (hash) of rules indexed by selector"
230 "name" : "removeStyleSheet",
232 "desc" : "Removes a style or link tag by id",
237 "isConstructor" : false,
249 "desc" : "The id of the tag",