<title>The source code</title>\r
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
<title>The source code</title>\r
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
XMASKED = "x-masked",\r
XMASKEDRELATIVE = "x-masked-relative",\r
data = Ext.Element.data;\r
XMASKED = "x-masked",\r
XMASKEDRELATIVE = "x-masked-relative",\r
data = Ext.Element.data;\r
return {\r
<div id="method-Ext.Element-isVisible"></div>/**\r
* Checks whether the element is currently visible using both visibility and display properties.\r
return {\r
<div id="method-Ext.Element-isVisible"></div>/**\r
* Checks whether the element is currently visible using both visibility and display properties.\r
isDisplayed : function() {\r
return !this.isStyle(DISPLAY, NONE);\r
},\r
isDisplayed : function() {\r
return !this.isStyle(DISPLAY, NONE);\r
},\r
<div id="method-Ext.Element-enableDisplayMode"></div>/**\r
* Convenience method for setVisibilityMode(Element.DISPLAY)\r
* @param {String} display (optional) What to set display to when visible\r
* @return {Ext.Element} this\r
*/\r
<div id="method-Ext.Element-enableDisplayMode"></div>/**\r
* Convenience method for setVisibilityMode(Element.DISPLAY)\r
* @param {String} display (optional) What to set display to when visible\r
* @return {Ext.Element} this\r
*/\r
this.setVisibilityMode(Ext.Element.DISPLAY);\r
if(!Ext.isEmpty(display)){\r
data(this.dom, 'originalDisplay', display);\r
}\r
return this;\r
},\r
this.setVisibilityMode(Ext.Element.DISPLAY);\r
if(!Ext.isEmpty(display)){\r
data(this.dom, 'originalDisplay', display);\r
}\r
return this;\r
},\r
<div id="method-Ext.Element-mask"></div>/**\r
* Puts a mask over this element to disable user interaction. Requires core.css.\r
* This method can only be applied to elements which accept child nodes.\r
<div id="method-Ext.Element-mask"></div>/**\r
* Puts a mask over this element to disable user interaction. Requires core.css.\r
* This method can only be applied to elements which accept child nodes.\r
mask = dh.append(dom, {cls : "ext-el-mask"}, true);\r
data(dom, 'mask', mask);\r
mask = dh.append(dom, {cls : "ext-el-mask"}, true);\r
data(dom, 'mask', mask);\r
var m = data(this.dom, 'mask');\r
return m && m.isVisible();\r
},\r
var m = data(this.dom, 'mask');\r
return m && m.isVisible();\r
},\r
<div id="method-Ext.Element-createShim"></div>/**\r
* Creates an iframe shim for this element to keep selects and other windowed objects from\r
* showing through.\r
* @return {Ext.Element} The new shim element\r
*/\r
createShim : function(){\r
<div id="method-Ext.Element-createShim"></div>/**\r
* Creates an iframe shim for this element to keep selects and other windowed objects from\r
* showing through.\r
* @return {Ext.Element} The new shim element\r
*/\r
createShim : function(){\r
shim = Ext.get(this.dom.parentNode.insertBefore(el, this.dom));\r
shim.autoBoxAdjust = false;\r
return shim;\r
shim = Ext.get(this.dom.parentNode.insertBefore(el, this.dom));\r
shim.autoBoxAdjust = false;\r
return shim;\r