1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.Resizable</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.Resizable-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.Resizable-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.Resizable-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.Resizable-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.Resizable
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
60 <table cellspacing="0" class="class-summary-table">
62 <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
64 <tr><td class="label">Defined In:</td><td class="hd-info">
66 <a href="./src/Roo_Resizable.js.html">Roo/Resizable.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">Resizable</td></tr>
74 <tr><td class="label">Extends:</td><td class="hd-info">
75 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
83 <!-- ============================== class summary ========================== -->
84 <div class="description">
85 <p>Applies drag handles to an element to make it resizable. The drag handles are inserted into the element<br/>and positioned absolute. Some elements, such as a textarea or image, don't support this. To overcome that, you can wrap<br/>the 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<br/>the element will be wrapped for you automatically.</p><br/><p>Here is the list of valid resize handles:</p><br/><pre><br/>Value Description<br/>------ -------------------<br/> 'n' north<br/> 's' south<br/> 'e' east<br/> 'w' west<br/> 'nw' northwest<br/> 'sw' southwest<br/> 'se' southeast<br/> 'ne' northeast<br/> 'all' all<br/></pre><br/><p>Here's an example showing the creation of a typical Resizable:</p><br/><pre><code><br/>var resizer = new Roo.Resizable("element-id", {<br/> handles: 'all',<br/> minWidth: 200,<br/> minHeight: 100,<br/> maxWidth: 500,<br/> maxHeight: 400,<br/> pinned: true<br/>});<br/>resizer.on("resize", myHandler);<br/></code></pre><br/><p>To hide a particular handle, set its display to none in CSS, or through script:<br><br/>resizer.east.setDisplayed(false);</p>
89 <!-- ============================== Class comment block... ========================== -->
91 <div class="comments">
92 <b>Class Comments / Notes</B> =>
93 <u onclick="parent.CommentDialog.showCommentId = 'Roo.Resizable';">[Add Your comment/notes about this class]</u>
95 <iframe frameborder="0" id="comments-Roo" style="border: none;width:100%;"
96 src="/blog.php/GtkDjsComments/Roo.Resizable.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.Resizable-configs"></a>
113 <table cellspacing="0" class="member-table">
114 <caption>Config Options (Usually are also Properties)</caption>
118 <th class="sig-header" colspan="2">Options</th>
120 <th class="msource-header">Defined By</th>
127 <tr class="config-row expandable config-row-alt0 notInherited">
128 <td class="micon"><a class="exi" href="#expand"> </a></td>
131 <a id="Roo.Resizable-cfg-adjustments" name=".adjustments"></a>
132 <div class="fixedFont">
133 <b class="itemname">adjustments</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>/String
139 <div class="short">String "auto" or an array [width, height] with values to be <b>added</b> to the<br/>resize operation's new size (defaults to [0, 0])</div>
143 <div class="long">String "auto" or an array [width, height] with values to be <b>added</b> to the<br/>resize operation's new size (defaults to [0, 0])</div>
157 <tr class="config-row expandable config-row-alt1 notInherited">
158 <td class="micon"><a class="exi" href="#expand"> </a></td>
161 <a id="Roo.Resizable-cfg-animate" name=".animate"></a>
162 <div class="fixedFont">
163 <b class="itemname">animate</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
169 <div class="short">True to animate the resize (not compatible with dynamic sizing, defaults to false)</div>
173 <div class="long">True to animate the resize (not compatible with dynamic sizing, defaults to false)</div>
187 <tr class="config-row expandable config-row-alt0 notInherited">
188 <td class="micon"><a class="exi" href="#expand"> </a></td>
191 <a id="Roo.Resizable-cfg-constrainTo" name=".constrainTo"></a>
192 <div class="fixedFont">
193 <b class="itemname">constrainTo</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element
199 <div class="short">Constrain the resize to a particular element</div>
203 <div class="long">Constrain the resize to a particular element</div>
217 <tr class="config-row expandable config-row-alt1 notInherited">
218 <td class="micon"><a class="exi" href="#expand"> </a></td>
221 <a id="Roo.Resizable-cfg-disableTrackOver" name=".disableTrackOver"></a>
222 <div class="fixedFont">
223 <b class="itemname">disableTrackOver</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
229 <div class="short">True to disable mouse tracking.</div>
233 <div class="long">True to disable mouse tracking. This is only applied at config time. (defaults to false)</div>
247 <tr class="config-row expandable config-row-alt0 notInherited">
248 <td class="micon"><a class="exi" href="#expand"> </a></td>
251 <a id="Roo.Resizable-cfg-draggable" name=".draggable"></a>
252 <div class="fixedFont">
253 <b class="itemname">draggable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
259 <div class="short">Convenience to initialize drag drop (defaults to false)</div>
263 <div class="long">Convenience to initialize drag drop (defaults to false)</div>
277 <tr class="config-row expandable config-row-alt1 notInherited">
278 <td class="micon"><a class="exi" href="#expand"> </a></td>
281 <a id="Roo.Resizable-cfg-duration" name=".duration"></a>
282 <div class="fixedFont">
283 <b class="itemname">duration</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
289 <div class="short">Animation duration if animate = true (defaults to .35)</div>
293 <div class="long">Animation duration if animate = true (defaults to .35)</div>
307 <tr class="config-row expandable config-row-alt0 notInherited">
308 <td class="micon"><a class="exi" href="#expand"> </a></td>
311 <a id="Roo.Resizable-cfg-dynamic" name=".dynamic"></a>
312 <div class="fixedFont">
313 <b class="itemname">dynamic</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
319 <div class="short">True to resize the element while dragging instead of using a proxy (defaults to false)</div>
323 <div class="long">True to resize the element while dragging instead of using a proxy (defaults to false)</div>
337 <tr class="config-row expandable config-row-alt1 notInherited">
338 <td class="micon"><a class="exi" href="#expand"> </a></td>
341 <a id="Roo.Resizable-cfg-easing" name=".easing"></a>
342 <div class="fixedFont">
343 <b class="itemname">easing</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
349 <div class="short">Animation easing if animate = true (defaults to 'easingOutStrong')</div>
353 <div class="long">Animation easing if animate = true (defaults to 'easingOutStrong')</div>
367 <tr class="config-row expandable config-row-alt0 notInherited">
368 <td class="micon"><a class="exi" href="#expand"> </a></td>
371 <a id="Roo.Resizable-cfg-enabled" name=".enabled"></a>
372 <div class="fixedFont">
373 <b class="itemname">enabled</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
379 <div class="short">False to disable resizing (defaults to true)</div>
383 <div class="long">False to disable resizing (defaults to true)</div>
397 <tr class="config-row expandable config-row-alt1 notInherited">
398 <td class="micon"><a class="exi" href="#expand"> </a></td>
401 <a id="Roo.Resizable-cfg-handles" name=".handles"></a>
402 <div class="fixedFont">
403 <b class="itemname">handles</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
409 <div class="short">String consisting of the resize handles to display (defaults to undefined)</div>
413 <div class="long">String consisting of the resize handles to display (defaults to undefined)</div>
427 <tr class="config-row expandable config-row-alt0 notInherited">
428 <td class="micon"><a class="exi" href="#expand"> </a></td>
431 <a id="Roo.Resizable-cfg-height" name=".height"></a>
432 <div class="fixedFont">
433 <b class="itemname">height</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
439 <div class="short">The height of the element in pixels (defaults to null)</div>
443 <div class="long">The height of the element in pixels (defaults to null)</div>
457 <tr class="config-row expandable config-row-alt1 notInherited">
458 <td class="micon"><a class="exi" href="#expand"> </a></td>
461 <a id="Roo.Resizable-cfg-heightIncrement" name=".heightIncrement"></a>
462 <div class="fixedFont">
463 <b class="itemname">heightIncrement</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
469 <div class="short">The increment to snap the height resize in pixels (dynamic must be true, defaults to 0)</div>
473 <div class="long">The increment to snap the height resize in pixels (dynamic must be true, defaults to 0)</div>
487 <tr class="config-row expandable config-row-alt0 notInherited">
488 <td class="micon"><a class="exi" href="#expand"> </a></td>
491 <a id="Roo.Resizable-cfg-maxHeight" name=".maxHeight"></a>
492 <div class="fixedFont">
493 <b class="itemname">maxHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
499 <div class="short">The maximum height for the element (defaults to 10000)</div>
503 <div class="long">The maximum height for the element (defaults to 10000)</div>
517 <tr class="config-row expandable config-row-alt1 notInherited">
518 <td class="micon"><a class="exi" href="#expand"> </a></td>
521 <a id="Roo.Resizable-cfg-maxWidth" name=".maxWidth"></a>
522 <div class="fixedFont">
523 <b class="itemname">maxWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
529 <div class="short">The maximum width for the element (defaults to 10000)</div>
533 <div class="long">The maximum width for the element (defaults to 10000)</div>
547 <tr class="config-row expandable config-row-alt0 notInherited">
548 <td class="micon"><a class="exi" href="#expand"> </a></td>
551 <a id="Roo.Resizable-cfg-minHeight" name=".minHeight"></a>
552 <div class="fixedFont">
553 <b class="itemname">minHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
559 <div class="short">The minimum height for the element (defaults to 5)</div>
563 <div class="long">The minimum height for the element (defaults to 5)</div>
577 <tr class="config-row expandable config-row-alt1 notInherited">
578 <td class="micon"><a class="exi" href="#expand"> </a></td>
581 <a id="Roo.Resizable-cfg-minWidth" name=".minWidth"></a>
582 <div class="fixedFont">
583 <b class="itemname">minWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
589 <div class="short">The minimum width for the element (defaults to 5)</div>
593 <div class="long">The minimum width for the element (defaults to 5)</div>
607 <tr class="config-row expandable config-row-alt0 notInherited">
608 <td class="micon"><a class="exi" href="#expand"> </a></td>
611 <a id="Roo.Resizable-cfg-minX" name=".minX"></a>
612 <div class="fixedFont">
613 <b class="itemname">minX</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
619 <div class="short">The minimum allowed page X for the element (only used for west resizing, defaults to 0)</div>
623 <div class="long">The minimum allowed page X for the element (only used for west resizing, defaults to 0)</div>
637 <tr class="config-row expandable config-row-alt1 notInherited">
638 <td class="micon"><a class="exi" href="#expand"> </a></td>
641 <a id="Roo.Resizable-cfg-minY" name=".minY"></a>
642 <div class="fixedFont">
643 <b class="itemname">minY</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
649 <div class="short">The minimum allowed page Y for the element (only used for north resizing, defaults to 0)</div>
653 <div class="long">The minimum allowed page Y for the element (only used for north resizing, defaults to 0)</div>
667 <tr class="config-row expandable config-row-alt0 notInherited">
668 <td class="micon"><a class="exi" href="#expand"> </a></td>
671 <a id="Roo.Resizable-cfg-multiDirectional" name=".multiDirectional"></a>
672 <div class="fixedFont">
673 <b class="itemname">multiDirectional</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
679 <div class="short"><b>Deprecated</b>.</div>
683 <div class="long"><b>Deprecated</b>. The old style of adding multi-direction resize handles, deprecated<br/>in favor of the handles config option (defaults to false)</div>
697 <tr class="config-row expandable config-row-alt1 notInherited">
698 <td class="micon"><a class="exi" href="#expand"> </a></td>
701 <a id="Roo.Resizable-cfg-pinned" name=".pinned"></a>
702 <div class="fixedFont">
703 <b class="itemname">pinned</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
709 <div class="short">True to ensure that the resize handles are always visible, false to display them only when the<br/>user mouses over the resizable borders.</div>
713 <div class="long">True to ensure that the resize handles are always visible, false to display them only when the<br/>user mouses over the resizable borders. This is only applied at config time. (defaults to false)</div>
727 <tr class="config-row expandable config-row-alt0 notInherited">
728 <td class="micon"><a class="exi" href="#expand"> </a></td>
731 <a id="Roo.Resizable-cfg-preserveRatio" name=".preserveRatio"></a>
732 <div class="fixedFont">
733 <b class="itemname">preserveRatio</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
739 <div class="short">True to preserve the original ratio between height and width during resize (defaults to false)</div>
743 <div class="long">True to preserve the original ratio between height and width during resize (defaults to false)</div>
757 <tr class="config-row expandable config-row-alt1 notInherited">
758 <td class="micon"><a class="exi" href="#expand"> </a></td>
761 <a id="Roo.Resizable-cfg-resizeChild" name=".resizeChild"></a>
762 <div class="fixedFont">
763 <b class="itemname">resizeChild</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/String/Element
769 <div class="short">True to resize the first child, or id/element to resize (defaults to false)</div>
773 <div class="long">True to resize the first child, or id/element to resize (defaults to false)</div>
787 <tr class="config-row expandable config-row-alt0 notInherited">
788 <td class="micon"><a class="exi" href="#expand"> </a></td>
791 <a id="Roo.Resizable-cfg-resizeRegion" name=".resizeRegion"></a>
792 <div class="fixedFont">
793 <b class="itemname">resizeRegion</b> : Roo.lib.Region
799 <div class="short">Constrain the resize to a particular region</div>
803 <div class="long">Constrain the resize to a particular region</div>
817 <tr class="config-row expandable config-row-alt1 notInherited">
818 <td class="micon"><a class="exi" href="#expand"> </a></td>
821 <a id="Roo.Resizable-cfg-transparent" name=".transparent"></a>
822 <div class="fixedFont">
823 <b class="itemname">transparent</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
829 <div class="short">True for transparent handles.</div>
833 <div class="long">True for transparent handles. This is only applied at config time. (defaults to false)</div>
847 <tr class="config-row expandable config-row-alt0 notInherited">
848 <td class="micon"><a class="exi" href="#expand"> </a></td>
851 <a id="Roo.Resizable-cfg-width" name=".width"></a>
852 <div class="fixedFont">
853 <b class="itemname">width</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
859 <div class="short">The width of the element in pixels (defaults to null)</div>
863 <div class="long">The width of the element in pixels (defaults to null)</div>
877 <tr class="config-row expandable config-row-alt1 notInherited">
878 <td class="micon"><a class="exi" href="#expand"> </a></td>
881 <a id="Roo.Resizable-cfg-widthIncrement" name=".widthIncrement"></a>
882 <div class="fixedFont">
883 <b class="itemname">widthIncrement</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
889 <div class="short">The increment to snap the width resize in pixels (dynamic must be true, defaults to 0)</div>
893 <div class="long">The increment to snap the width resize in pixels (dynamic must be true, defaults to 0)</div>
907 <tr class="config-row expandable config-row-alt0 notInherited">
908 <td class="micon"><a class="exi" href="#expand"> </a></td>
911 <a id="Roo.Resizable-cfg-wrap" name=".wrap"></a>
912 <div class="fixedFont">
913 <b class="itemname">wrap</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
919 <div class="short">True to wrap an element with a div if needed (required for textareas and images, defaults to false)</div>
923 <div class="long">True to wrap an element with a div if needed (required for textareas and images, defaults to false)</div>
947 <!-- ============================== public properties ==================== -->
951 <a id="Roo.Resizable-props"></a>
957 <table cellspacing="0" class="member-table">
958 <caption class="Empty">Public Properties - Has None</caption>
964 <!-- ============================== methods summary / details ======================== -->
967 <a id="Roo.Resizable-methods"></a>
968 <!-- constructor?? -->
975 <!-- then dynamics first -->
982 <table cellspacing="0" class="member-table">
983 <caption>Public Methods</caption>
985 <th class="sig-header" colspan="2">Method</th>
986 <th class="msource-header">Defined By</th>
996 <tr class="method-row config-row-alt0 expandable notInherited">
997 <td class="micon"><a class="exi" href="#expand"> </a></td>
1001 <a id="Roo-method-Resizable" name=".Resizable"></a>
1002 <div class="fixedFont">
1003 <span class="attributes">new <B>Roo.</B></span><b class="itemname">Resizable</b>
1005 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>el</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
1013 <div class="short">Create a new Roo.Resizable</div>
1020 Create a new Roo.Resizable
1023 <dl class="detailList">
1024 <dt class="heading">Parameters:</dt>
1027 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>el</b>
1030 <dd>The id or element to resize</dd>
1033 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
1036 <dd>configuration options</dd>
1054 <td class="msource">
1060 <tr class="method-row config-row-alt1 expandable notInherited">
1061 <td class="micon"><a class="exi" href="#expand"> </a></td>
1065 <a id="Roo.Resizable-method-destroy" name=".destroy"></a>
1066 <div class="fixedFont">
1067 <span class="attributes"></span><b class="itemname">destroy</b>
1069 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
1076 <div class="short">Destroys this resizable.</div>
1082 Destroys this resizable. If the element was wrapped and<br/>removeEl is not true then the element remains.
1089 <dl class="detailList">
1090 <dt class="heading">Parameters:</dt>
1093 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>removeEl</b>
1096 <dd>(optional) true to remove the element from the DOM</dd>
1114 <td class="msource">
1122 <tr class="method-row config-row-alt0 expandable notInherited">
1123 <td class="micon"><a class="exi" href="#expand"> </a></td>
1127 <a id="Roo.Resizable-method-getEl" name=".getEl"></a>
1128 <div class="fixedFont">
1129 <span class="attributes"></span><b class="itemname">getEl</b>
1137 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1146 <div class="short">Returns the element this component is bound to.</div>
1152 Returns the element this component is bound to.
1163 <dl class="detailList">
1164 <dt class="heading">Returns:</dt>
1166 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> </dd>
1180 <td class="msource">
1188 <tr class="method-row config-row-alt1 expandable notInherited">
1189 <td class="micon"><a class="exi" href="#expand"> </a></td>
1193 <a id="Roo.Resizable-method-getResizeChild" name=".getResizeChild"></a>
1194 <div class="fixedFont">
1195 <span class="attributes"></span><b class="itemname">getResizeChild</b>
1203 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1212 <div class="short">Returns the resizeChild element (or null).</div>
1218 Returns the resizeChild element (or null).
1229 <dl class="detailList">
1230 <dt class="heading">Returns:</dt>
1232 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> </dd>
1246 <td class="msource">
1254 <tr class="method-row config-row-alt0 expandable notInherited">
1255 <td class="micon"><a class="exi" href="#expand"> </a></td>
1259 <a id="Roo.Resizable-method-resizeTo" name=".resizeTo"></a>
1260 <div class="fixedFont">
1261 <span class="attributes"></span><b class="itemname">resizeTo</b>
1263 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>)
1270 <div class="short">Perform a manual resize</div>
1276 Perform a manual resize
1283 <dl class="detailList">
1284 <dt class="heading">Parameters:</dt>
1287 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
1293 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
1314 <td class="msource">
1325 <!-- ============================== events summary / details ======================== -->
1328 <a id="Roo.Resizable-events"></a>
1337 <table cellspacing="0" class="member-table">
1338 <caption>Events</caption>
1341 <th class="sig-header" colspan="2">Event</th>
1342 <th class="msource-header">Defined By</th>
1351 <tr class="method-row expandable config-row-alt0 notInherited">
1352 <td class="micon"><a class="exi" href="#expand"> </a></td>
1355 <a id="Roo.Resizable-event-*beforeresize"></a>
1357 <div class="fixedFont">
1358 <b class="itemname">beforeresize</b> (<a href="./Roo.Resizable.html#constructor" roo:cls="Roo.Resizable.html#constructor">Roo.Resizable</a> <B><i>this</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
1364 <div class="short">Fired before resize is allowed.
1370 Fired before resize is allowed. Set enabled to false to cancel resize.
1376 <dl class="detailList">
1377 <dt class="heading">Parameters:</dt>
1380 <span class="fixedFont"><a href="./Roo.Resizable.html#constructor" roo:cls="Roo.Resizable.html#constructor">Roo.Resizable</a></span> <b>this</b>
1386 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
1389 <dd>The mousedown event</dd>
1407 <td class="msource">
1412 <tr class="method-row expandable config-row-alt1 notInherited">
1413 <td class="micon"><a class="exi" href="#expand"> </a></td>
1416 <a id="Roo.Resizable-event-*resize"></a>
1418 <div class="fixedFont">
1419 <b class="itemname">resize</b> (<a href="./Roo.Resizable.html#constructor" roo:cls="Roo.Resizable.html#constructor">Roo.Resizable</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
1425 <div class="short">Fired after a resize.
1431 Fired after a resize.
1437 <dl class="detailList">
1438 <dt class="heading">Parameters:</dt>
1441 <span class="fixedFont"><a href="./Roo.Resizable.html#constructor" roo:cls="Roo.Resizable.html#constructor">Roo.Resizable</a></span> <b>this</b>
1447 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
1450 <dd>The new width</dd>
1453 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
1456 <dd>The new height</dd>
1459 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
1462 <dd>The mouseup event</dd>
1480 <td class="msource">
1492 <!-- ============================== footer ================================= -->
1493 <div class="fineprint" style="clear:both">
1495 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Jul 16 2010 15:55:23 GMT+0800 (HKT)
1497 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>