Properties Methods Events Config Options Direct Link
Observable
  Draggable

Class Ext.util.Draggable

Package:Ext.util
Defined In:Draggable.js
Class:Draggable
Subclasses:Scroller
Extends:Observable
A core util class to bring Draggable behavior to any DOM element, acts as a base class for Scroller and Sortable

Config Options

Config OptionsDefined By
 cancelSelector : String
A simple CSS selector that represents elements within the draggable that should NOT initiate a drag.
Draggable
 constrain : Element/Mixed
Can be either a DOM element, an instance of Ext.Element, 'parent' or null for no constrain
Draggable
 delay : Number
How many milliseconds a user must hold the draggable before starting a drag operation. Defaults to 0 or immediate.
Draggable
 direction : String
Possible values: 'vertical', 'horizontal', or 'both' Defaults to 'both'
Draggable
 disabled : Boolean
Whether or not the draggable behavior is disabled on instantiation Defaults to false
Draggable
 group : String
Draggable and Droppable objects can participate in a group which are capable of interacting. Defaults to 'base'
Draggable

Public Properties

PropertyDefined By
 dragging : Boolean
Read-only Property representing whether or not the Draggable is currently dragging or not.
Draggable
 offsetBoundary : Ext.util.Region
Read-only Property representing the region that the Draggable is constrained to.
Draggable
 threshold : Number
The amount of pixels you have to move before the drag operation starts. Defaults to 0
Draggable

Public Methods

MethodDefined By

Public Events

EventDefined By