2 "name" : "Roo.util.CSS",
4 "desc" : "Utility class for manipulating CSS rules",
18 "name" : "createStyleSheet",
19 "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.",
21 "isConstructor" : false,
23 "memberOf" : "Roo.util.CSS",
31 "type" : "String|Object",
32 "desc" : "The text containing the css rules",
38 "desc" : "An id to add to the stylesheet for later removal",
45 "type" : "StyleSheet",
52 "desc" : "Gets all css rules for the document",
54 "isConstructor" : false,
56 "memberOf" : "Roo.util.CSS",
63 "name" : "refreshCache",
65 "desc" : "true to refresh the internal cache",
73 "desc" : "An object (hash) of rules indexed by selector"
78 "name" : "swapStyleSheet",
79 "desc" : "Dynamically swaps an existing stylesheet reference for a new one",
81 "isConstructor" : false,
83 "memberOf" : "Roo.util.CSS",
92 "desc" : "The id of an existing link tag to remove",
98 "desc" : "The href of the new stylesheet to include",
105 "name" : "updateRule",
106 "desc" : "Updates a rule property",
108 "isConstructor" : false,
110 "memberOf" : "Roo.util.CSS",
118 "type" : "String/Array",
119 "desc" : "If it's an array it tries each selector until it finds one. Stops immediately once one is found.",
125 "desc" : "The css property",
131 "desc" : "The new value for the property",
139 "desc" : "true If a rule was found and updated"
145 "desc" : "Gets an an individual CSS rule by selector(s)",
147 "isConstructor" : false,
149 "memberOf" : "Roo.util.CSS",
157 "type" : "String/Array",
158 "desc" : "The CSS selector or an array of selectors to try. The first selector that is found is returned.",
162 "name" : "refreshCache",
164 "desc" : "true to refresh the internal cache if you have recently updated any rules or added styles dynamically",
172 "desc" : "The CSS rule or null if one is not found"
177 "name" : "refreshCache",
178 "desc" : "Refresh the rule cache if you have dynamically added stylesheets",
180 "isConstructor" : false,
182 "memberOf" : "Roo.util.CSS",
192 "desc" : "An object (hash) of rules indexed by selector"
197 "name" : "removeStyleSheet",
198 "desc" : "Removes a style or link tag by id",
200 "isConstructor" : false,
202 "memberOf" : "Roo.util.CSS",
211 "desc" : "The id of the tag",