2 "name" : "Roo.util.CSS",
4 "desc" : "Utility class for manipulating CSS rules",
20 "name" : "createStyleSheet",
22 "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.",
23 "sig" : "(cssText, id)",
27 "isConstructor" : false,
38 "type" : "String|Object",
39 "desc" : "The text containing the css rules",
45 "desc" : "An id to add to the stylesheet for later removal",
52 "type" : "StyleSheet",
60 "desc" : "Gets all css rules for the document",
61 "sig" : "(refreshCache)",
65 "isConstructor" : false,
75 "name" : "refreshCache",
77 "desc" : "true to refresh the internal cache",
85 "desc" : "An object (hash) of rules indexed by selector"
90 "name" : "swapStyleSheet",
92 "desc" : "Dynamically swaps an existing stylesheet reference for a new one",
97 "isConstructor" : false,
109 "desc" : "The id of an existing link tag to remove",
115 "desc" : "The href of the new stylesheet to include",
122 "name" : "updateRule",
124 "desc" : "Updates a rule property",
125 "sig" : "(selector, property, value)",
129 "isConstructor" : false,
140 "type" : "String/Array",
141 "desc" : "If it's an array it tries each selector until it finds one. Stops immediately once one is found.",
147 "desc" : "The css property",
153 "desc" : "The new value for the property",
161 "desc" : "true If a rule was found and updated"
168 "desc" : "Gets an an individual CSS rule by selector(s)",
169 "sig" : "(selector, refreshCache)",
173 "isConstructor" : false,
184 "type" : "String/Array",
185 "desc" : "The CSS selector or an array of selectors to try. The first selector that is found is returned.",
189 "name" : "refreshCache",
191 "desc" : "true to refresh the internal cache if you have recently updated any rules or added styles dynamically",
199 "desc" : "The CSS rule or null if one is not found"
204 "name" : "refreshCache",
206 "desc" : "Refresh the rule cache if you have dynamically added stylesheets",
207 "sig" : "()\n{\n\n}",
211 "isConstructor" : false,
224 "desc" : "An object (hash) of rules indexed by selector"
229 "name" : "removeStyleSheet",
231 "desc" : "Removes a style or link tag by id",
236 "isConstructor" : false,
248 "desc" : "The id of the tag",