Clear Up
SharpKit Reference

Ext.resizer Namespace

Download SDK: SharpKit.ExtJs.zip

Classes

Name Description
BorderSplitter

NOTE This is a private utility class for internal use by the framework. Don't rely on its existence.

Private utility class for Ext.layout.container.Border.

BorderSplitterConfig
BorderSplitterEvents
BorderSplitterTracker

NOTE This is a private utility class for internal use by the framework. Don't rely on its existence.

Private utility class for Ext.BorderSplitter.

BorderSplitterTrackerConfig
BorderSplitterTrackerEvents
Handle

Provides a handle for 9-point resizing of Elements or Components.

HandleConfig
HandleEvents
Resizer

Applies drag handles to an element or component to make it resizable. The drag handles are inserted into the element (or component's element) and positioned absolute.

Textarea and img elements will be wrapped with an additional div because these elements do not support child nodes. The original element can be accessed through the originalTarget property.

Here is the list of valid resize handles:

  
Value   Description
            ------  -------------------
            'n'     north
            's'     south
            'e'     east
            'w'     west
            'nw'    northwest
            'sw'    southwest
            'se'    southeast
            'ne'    northeast
            'all'   all
            

Here's an example showing the creation of a typical Resizer:

  
    Ext.create('Ext.resizer.Resizer', {
            el: 'elToResize',
            handles: 'all',
            minWidth: 200,
            minHeight: 100,
            maxWidth: 500,
            maxHeight: 400,
            pinned: true
            });
            
ResizerConfig
ResizerEvents
ResizeTracker

NOTE This is a private utility class for internal use by the framework. Don't rely on its existence.

Private utility class for Ext.resizer.Resizer.

ResizeTrackerConfig
ResizeTrackerEvents
Splitter

This class functions between siblings of a VBox or HBox layout to resize both immediate siblings.

A Splitter will preserve the flex ratio of any flexed siblings it is required to resize. It does this by setting the flex property of all flexed siblings to equal their pixel size. The actual numerical flex property in the Components will change, but the ratio to the total flex value will be preserved.

A Splitter may be configured to show a centered mini-collapse tool orientated to collapse the collapseTarget. The Splitter will then call that sibling Panel's collapse or expand method to perform the appropriate operation (depending on the sibling collapse state). To create the mini-collapse tool but take care of collapsing yourself, configure the splitter with performCollapse: false.

SplitterConfig
SplitterEvents
SplitterTracker

NOTE This is a private utility class for internal use by the framework. Don't rely on its existence.

Private utility class for Ext.Splitter.

SplitterTrackerConfig
SplitterTrackerEvents
© Copyright 2005-2011 SharpKit. All rights reserved.