X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/Element.fx.html diff --git a/docs/source/Element.fx.html b/docs/source/Element.fx.html index 5d1fdcb5..9659ab76 100644 --- a/docs/source/Element.fx.html +++ b/docs/source/Element.fx.html @@ -3,8 +3,8 @@
/** - * @class Ext.core.Element +/** + * @class Ext.Element */ -/** +/** * Visibility mode constant for use with {@link #setVisibilityMode}. Use visibility to hide element * @static * @type Number */ -Ext.core.Element.VISIBILITY = 1; -/** +Ext.Element.VISIBILITY = 1; +/** * Visibility mode constant for use with {@link #setVisibilityMode}. Use display to hide element * @static * @type Number */ -Ext.core.Element.DISPLAY = 2; +Ext.Element.DISPLAY = 2; -/** +/** * Visibility mode constant for use with {@link #setVisibilityMode}. Use offsets (x and y positioning offscreen) * to hide element. * @static * @type Number */ -Ext.core.Element.OFFSETS = 3; +Ext.Element.OFFSETS = 3; -Ext.core.Element.ASCLASS = 4; +Ext.Element.ASCLASS = 4; -/** +/** * Defaults to 'x-hide-nosize' * @static * @type String */ -Ext.core.Element.visibilityCls = Ext.baseCSSPrefix + 'hide-nosize'; +Ext.Element.visibilityCls = Ext.baseCSSPrefix + 'hide-nosize'; -Ext.core.Element.addMethods(function(){ - var El = Ext.core.Element, +Ext.Element.addMethods(function(){ + var El = Ext.Element, OPACITY = "opacity", VISIBILITY = "visibility", DISPLAY = "display", @@ -79,25 +79,25 @@ Ext.core.Element.addMethods(function(){ }; return { - /** - * The element's default display mode (defaults to "") - * @type String + /** + * @property {String} originalDisplay + * The element's default display mode */ originalDisplay : "", visibilityMode : 1, - /** + /** * Sets the element's visibility mode. When setVisible() is called it * will use this to determine whether to set the visibility or the display property. - * @param {Number} visMode Ext.core.Element.VISIBILITY or Ext.core.Element.DISPLAY - * @return {Ext.core.Element} this + * @param {Number} visMode Ext.Element.VISIBILITY or Ext.Element.DISPLAY + * @return {Ext.Element} this */ setVisibilityMode : function(visMode){ data(this.dom, VISMODE, visMode); return this; }, - /** + /** * Checks whether the element is currently visible using both visibility and display properties. * @return {Boolean} True if the element is currently visible, else false */ @@ -118,12 +118,12 @@ Ext.core.Element.addMethods(function(){ return visible; }, - /** + /** * Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use * the display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property. * @param {Boolean} visible Whether the element is visible * @param {Boolean/Object} animate (optional) True for the default animation, or a standard Element animation config object - * @return {Ext.core.Element} this + * @return {Ext.Element} this */ setVisible : function(visible, animate){ var me = this, isDisplay, isVisibility, isOffsets, isNosize, @@ -213,7 +213,7 @@ Ext.core.Element.addMethods(function(){ }, - /** + /** * @private * Determine if the Element has a relevant height and width available based * upon current logical visibility state @@ -223,10 +223,10 @@ Ext.core.Element.addMethods(function(){ return this.isVisible() || (getVisMode(dom) == El.OFFSETS) || (getVisMode(dom) == El.VISIBILITY); }, - /** + /** * Toggles the element's visibility or display, depending on visibility mode. * @param {Boolean/Object} animate (optional) True for the default animation, or a standard Element animation config object - * @return {Ext.core.Element} this + * @return {Ext.Element} this */ toggle : function(animate){ var me = this; @@ -234,10 +234,10 @@ Ext.core.Element.addMethods(function(){ return me; }, - /** + /** * Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true. - * @param {Mixed} value Boolean value to display the element using its default display, or a string to set the display directly. - * @return {Ext.core.Element} this + * @param {Boolean/String} value Boolean value to display the element using its default display, or a string to set the display directly. + * @return {Ext.Element} this */ setDisplayed : function(value) { if(typeof value == "boolean"){ @@ -259,10 +259,10 @@ Ext.core.Element.addMethods(function(){ } }, - /** + /** * Hide this element - Uses display mode to determine whether to use "display" or "visibility". See {@link #setVisible}. * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object - * @return {Ext.core.Element} this + * @return {Ext.Element} this */ hide : function(animate){ // hideMode override @@ -274,10 +274,10 @@ Ext.core.Element.addMethods(function(){ return this; }, - /** + /** * Show this element - Uses display mode to determine whether to use "display" or "visibility". See {@link #setVisible}. * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object - * @return {Ext.core.Element} this + * @return {Ext.Element} this */ show : function(animate){ // hideMode override