X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/CSS.html diff --git a/docs/source/CSS.html b/docs/source/CSS.html index 77abb3dd..d6642273 100644 --- a/docs/source/CSS.html +++ b/docs/source/CSS.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.util.CSS
* Utility class for manipulating CSS rules
* @singleton
@@ -19,7 +36,7 @@ Ext.define('Ext.util.CSS', function() {
this.initialized = false;
},
- /**
+ /**
* Creates a stylesheet from a text blob of rules.
* These rules will be wrapped in a STYLE tag and appended to the HEAD of the document.
* @param {String} cssText The text containing the css rules
@@ -53,7 +70,7 @@ Ext.define('Ext.util.CSS', function() {
return ss;
},
- /**
+ /**
* Removes a style or link tag by id
* @param {String} id The id of the tag
*/
@@ -64,7 +81,7 @@ Ext.define('Ext.util.CSS', function() {
}
},
- /**
+ /**
* Dynamically swaps an existing stylesheet reference for a new one
* @param {String} id The id of an existing link tag to remove
* @param {String} url The href of the new stylesheet to include
@@ -80,7 +97,7 @@ Ext.define('Ext.util.CSS', function() {
doc.getElementsByTagName("head")[0].appendChild(ss);
},
- /**
+ /**
* Refresh the rule cache if you have dynamically added stylesheets
* @return {Object} An object (hash) of rules indexed by selector
*/
@@ -115,7 +132,7 @@ Ext.define('Ext.util.CSS', function() {
} catch(e) {}
},
- /**
+ /**
* Gets all css rules for the document
* @param {Boolean} refreshCache true to refresh the internal cache
* @return {Object} An object (hash) of rules indexed by selector
@@ -138,7 +155,7 @@ Ext.define('Ext.util.CSS', function() {
return rules;
},
- /**
+ /**
* Gets an an individual CSS rule by selector(s)
* @param {String/Array} selector The CSS selector or an array of selectors to try. The first selector that is found is returned.
* @param {Boolean} refreshCache true to refresh the internal cache if you have recently updated any rules or added styles dynamically
@@ -157,7 +174,7 @@ Ext.define('Ext.util.CSS', function() {
return null;
},
- /**
+ /**
* Updates a rule property
* @param {String/Array} selector If it's an array it tries each selector until it finds one. Stops immediately once one is found.
* @param {String} property The css property
@@ -181,4 +198,6 @@ Ext.define('Ext.util.CSS', function() {
return false;
}
};
-}());
\ No newline at end of file
+}());
+
+