|
|
/*This file is part of Ext JS 3.4
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License UsageThis file may be used under the terms of the GNU General Public License version 3.0 aspublished by the Free Software Foundation and appearing in the file LICENSE included in thepackaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales departmentat http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25*/Ext.data.JsonP.Ext_Resizable({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":"Ext.util.Observable","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Ext.util.Observable' rel='Ext.util.Observable' class='docClass'>Ext.util.Observable</a><div class='subclass '><strong>Ext.Resizable</strong></div></div><h4>Files</h4><div class='dependency'><a href='source/Resizable.html#Ext-Resizable' target='_blank'>Resizable.js</a></div></pre><div class='doc-contents'><p>Applies drag handles to an element to make it resizable. The drag handles are inserted into the element\nand positioned absolute. Some elements, such as a textarea or image, don't support this. To overcome that, you can wrap\nthe textarea in a div and set 'resizeChild' to true (or to the id of the element), <b>or</b> set wrap:true in your config and\nthe element will be wrapped for you automatically.</p>\n\n\n<p>Here is the list of valid resize handles:</p>\n\n\n<pre>Value Description\n------ -------------------\n 'n' north\n 's' south\n 'e' east\n 'w' west\n 'nw' northwest\n 'sw' southwest\n 'se' southeast\n 'ne' northeast\n 'all' all\n</pre>\n\n\n<p>Here's an example showing the creation of a typical Resizable:</p>\n\n\n<pre><code>var resizer = new <a href=\"#!/api/Ext.Resizable\" rel=\"Ext.Resizable\" class=\"docClass\">Ext.Resizable</a>('element-id', {\n handles: 'all',\n minWidth: 200,\n minHeight: 100,\n maxWidth: 500,\n maxHeight: 400,\n pinned: true\n});\nresizer.on('resize', myHandler);\n</code></pre>\n\n\n<p>To hide a particular handle, set its display to none in CSS, or through script:<br>\nresizer.east.setDisplayed(false);</p>\n\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-adjustments' class='member first-child not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.Resizable'>Ext.Resizable</span><br/><a href='source/Resizable.html#Ext-Resizable-cfg-adjustments' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.Resizable-cfg-adjustments' class='name expandable'>adjustments</a><span> : <a href=\"#!/api/Array\" rel=\"Array\" class=\"docClass\">Array</a>/<a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span></div><div class='description'><div class='short'>String 'auto' or an array [width, height] with values to be added to the\nresize operation's new size (defaults to [0,...</div><div class='long'><p>String 'auto' or an array [width, height] with values to be <b>added</b> to the\nresize operation's new size (defaults to <tt>[0, 0]</tt>)</p>\n<p>Defaults to: <code>[0, 0]</code></p></div></div></div><div id='cfg-animate' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.Resizable'>Ext.Resizable</span><br/><a href='source/Resizable.html#Ext-Resizable-cfg-animate' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.Resizable-cfg-animate' class='name expandable'>animate</a><span> : Boolean</span></div><div class='description'><div class='short'>True to animate the resize (not compatible with dynamic sizing, defaults to false) ...</div><div class='long'><p>True to animate the resize (not compatible with dynamic sizing, defaults to false)</p>\n<p>Defaults to: <code>false</code></p></div></div></div><div id='cfg-constrainTo' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.Resizable'>Ext.Resizable</span><br/><a href='source/Resizable.html#Ext-Resizable-cfg-constrainTo' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.Resizable-cfg-constrainTo' cl
|