Properties Methods Events Config Options Direct Link
Observable
  SplitBar

Class Ext.SplitBar

Package:Ext
Defined In:SplitBar.js
Class:SplitBar
Extends:Observable
Creates draggable splitter bar functionality from two elements (element to be dragged and element to be resized).

Usage:
var split = new Ext.SplitBar("elementToDrag", "elementToSize",
                   Ext.SplitBar.HORIZONTAL, Ext.SplitBar.LEFT);
split.setAdapter(new Ext.SplitBar.AbsoluteLayoutAdapter("container"));
split.minSize = 100;
split.maxSize = 600;
split.animate = true;
split.on('moved', splitterMoved);

Config Options

Config OptionsDefined By

Public Properties

PropertyDefined By
 animate : Boolean
Whether to animate the transition to the new size
SplitBar
 maxSize : Number
The maximum size of the resizing element. (Defaults to 2000)
SplitBar
 minSize : Number
The minimum size of the resizing element. (Defaults to 0)
SplitBar
 tickSize : Number
The increment, in pixels by which to move this SplitBar. When undefined, the SplitBar moves smoothly.
SplitBar
 useShim : Boolean
Whether to create a transparent shim that overlays the page when dragging, enables dragging across iframes.
SplitBar

Public Methods

MethodDefined By

Public Events

EventDefined By