X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/output/Ext.Resizable.html?ds=inline diff --git a/docs/output/Ext.Resizable.html b/docs/output/Ext.Resizable.html index 1b186fcd..61ccf704 100644 --- a/docs/output/Ext.Resizable.html +++ b/docs/output/Ext.Resizable.html @@ -1,4 +1,4 @@ -
Observable Resizable
Package: | Ext |
Defined In: | Resizable.js |
Class: | Resizable |
Extends: | Observable |
Applies drag handles to an element to make it resizable. The drag handles are inserted into the element +
Observable Resizable
Package: | Ext |
Defined In: | Resizable.js |
Class: | Resizable |
Extends: | Observable |
Applies drag handles to an element to make it resizable. The drag handles are inserted into the element and positioned absolute. Some elements, such as a textarea or image, don't support this. To overcome that, you can wrap the textarea in a div and set 'resizeChild' to true (or to the id of the element), or set wrap:true in your config and the element will be wrapped for you automatically.
@@ -29,7 +29,7 @@ resizer.on('resize', myHandler);To hide a particular handle, set its display to none in CSS, or through script:
resizer.east.setDisplayed(false);
Config Options | Defined By | ||
---|---|---|---|
adjustments : Array/String String 'auto' or an array [width, height] with values to be added to the
resize operation's new size (defaults to [0... String 'auto' or an array [width, height] with values to be added to the
-resize operation's new size (defaults to [0, 0]) | Resizable | ||
animate : Boolean True to animate the resize (not compatible with dynamic sizing, defaults to false) | Resizable | ||
constrainTo : Mixed Constrain the resize to a particular element | Resizable | ||
disableTrackOver : Boolean True to disable mouse tracking. This is only applied at config time. (defaults to false) | Resizable | ||
draggable : Boolean Convenience to initialize drag drop (defaults to false) | Resizable | ||
duration : Number Animation duration if animate = true (defaults to 0.35) | Resizable | ||
dynamic : Boolean True to resize the element while dragging instead of using a proxy (defaults to false) | Resizable | ||
easing : String Animation easing if animate = true (defaults to 'easingOutStrong') | Resizable | ||
enabled : Boolean False to disable resizing (defaults to true) | Resizable | ||
handles : String String consisting of the resize handles to display (defaults to undefined).
+resize operation's new size (defaults to [0, 0]) | Resizable | ||
animate : Boolean True to animate the resize (not compatible with dynamic sizing, defaults to false) | Resizable | ||
constrainTo : Mixed Constrain the resize to a particular element | Resizable | ||
disableTrackOver : Boolean True to disable mouse tracking. This is only applied at config time. (defaults to false) | Resizable | ||
draggable : Boolean Convenience to initialize drag drop (defaults to false) | Resizable | ||
duration : Number Animation duration if animate = true (defaults to 0.35) | Resizable | ||
dynamic : Boolean True to resize the element while dragging instead of using a proxy (defaults to false) | Resizable | ||
easing : String Animation easing if animate = true (defaults to 'easingOutStrong') | Resizable | ||
enabled : Boolean False to disable resizing (defaults to true) | Resizable | ||
handleCls : String A css class to add to each handle. Defaults to ''. | Resizable | ||
handles : String String consisting of the resize handles to display (defaults to undefined).
Specify either 'all' or any of 'n s e w ... String consisting of the resize handles to display (defaults to undefined).
Specify either 'all' or any of 'n s e w ne nw se sw'. | Resizable | ||
height : Number The height of the element in pixels (defaults to null) | Resizable | ||
heightIncrement : Number The increment to snap the height resize in pixels
(only applies if dynamic==true ). Defaults to 0. | Resizable | ||
listeners : Object A config object containing one or more event handlers to be added to this
@@ -97,9 +97,11 @@ in favor of the handles config option (defaults to false) | The proxy Element that is resized in place of the real Element during the resize operation.
This may be queried using Ext.Element.getBox to provide the new area to resize to.
Read only. | Resizable |
Method | Defined By | |
---|---|---|
Resizable( Mixed el , Object config )
- Create a new resizable component Create a new resizable component Parameters:
| Resizable | |
addEvents( Object object )
+ Create a new resizable component Create a new resizable component Parameters:
| Resizable | |
addEvents( Object|String o , string Optional. )
:
- voidUsed to define events on this Observable Used to define events on this Observable Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
+ voidAdds the specified events to the list of events which this Observable may fire. Adds the specified events to the list of events which this Observable may fire. Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
:
voidAppends an event handler to this object. Appends an event handler to this object. Parameters:
| Observable | |
destroy( [Boolean removeEl ] )
:
voidDestroys this resizable. If the element was wrapped and
removeEl is not true then the element remains. Destroys this resizable. If the element was wrapped and
-removeEl is not true then the element remains. Parameters:
| Resizable | |
enableBubble( Object events )
+removeEl is not true then the element remains.Parameters:
| Resizable | |
enableBubble( String/Array events )
:
- voidUsed to enable bubbling of events Used to enable bubbling of events Parameters:
| Observable | |
fireEvent( String eventName , Object... args )
+ voidEnables events fired by this Observable to bubble up an owner hierarchy by calling
+this.getBubbleTarget() if present... Enables events fired by this Observable to bubble up an owner hierarchy by calling
+ This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default +implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to +access the required target more quickly. +Example:
Parameters:
| Observable | |
fireEvent( String eventName , Object... args )
:
BooleanFires the specified event with the passed parameters (minus the event name).
An event may be set to bubble up an Obse... Fires the specified event with the passed parameters (minus the event name). |