2 "name" : "Roo.util.CSS",
5 "desc" : "Utility class for manipulating CSS rules",
22 "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.",
25 "isConstructor" : false,
27 "memberOf" : "Roo.util.CSS",
35 "type" : "String|Object",
36 "desc" : "The text containing the css rules",
42 "desc" : "An id to add to the stylesheet for later removal",
49 "type" : "StyleSheet",
56 "desc" : "Gets all css rules for the document",
58 "isConstructor" : false,
60 "memberOf" : "Roo.util.CSS",
67 "name" : "refreshCache",
69 "desc" : "true to refresh the internal cache",
77 "desc" : "An object (hash) of rules indexed by selector"
82 "name" : "swapStyleSheet",
83 "desc" : "Dynamically swaps an existing stylesheet reference for a new one",
85 "isConstructor" : false,
87 "memberOf" : "Roo.util.CSS",
96 "desc" : "The id of an existing link tag to remove",
102 "desc" : "The href of the new stylesheet to include",
110 "name" : "updateRule",
111 "desc" : "Updates a rule property",
113 "isConstructor" : false,
115 "memberOf" : "Roo.util.CSS",
123 "type" : "String/Array",
124 "desc" : "If it's an array it tries each selector until it finds one. Stops immediately once one is found.",
130 "desc" : "The css property",
136 "desc" : "The new value for the property",
144 "desc" : "true If a rule was found and updated"
150 "desc" : "Gets an an individual CSS rule by selector(s)",
152 "isConstructor" : false,
154 "memberOf" : "Roo.util.CSS",
162 "type" : "String/Array",
163 "desc" : "The CSS selector or an array of selectors to try. The first selector that is found is returned.",
167 "name" : "refreshCache",
169 "desc" : "true to refresh the internal cache if you have recently updated any rules or added styles dynamically",
177 "desc" : "The CSS rule or null if one is not found"
182 "name" : "refreshCache",
183 "desc" : "Refresh the rule cache if you have dynamically added stylesheets",
185 "isConstructor" : false,
187 "memberOf" : "Roo.util.CSS",
198 "desc" : "An object (hash) of rules indexed by selector"
203 "name" : "removeStyleSheet",
204 "desc" : "Removes a style or link tag by id",
206 "isConstructor" : false,
208 "memberOf" : "Roo.util.CSS",
217 "desc" : "The id of the tag",