Clear Up
SharpKit Reference

Draggable Class

Namespace: Ext.util

Base Types

System.Object

Constructors

Name Description
Draggable()
Draggable(DraggableConfig)
Draggable(object) Creates new Draggable. @param {Mixed} el The element you want to make draggable. @param {Object} config The configuration object for this Draggable.

Methods

Name Description
applyConstraint(object, object)
applyContainerConstraint(object, object)
applyElement(object)
applyInitialOffset(object)
applyOffset(object, object)
applyTranslateMethod(object)
destroy()
detachListeners()
disable() Disable the Draggable. @return {Ext.util.Draggable} This Draggable instance
doRefresh()
enable() Enable the Draggable. @return {Ext.util.Draggable} This Draggable instance
getContainer()
getNumberValue(object)
initDragStart(object, object, object)
isAxisEnabled(object)
moveTo(object, object)
onDrag(object)
onDragEnd(object)
onDragStart(object)
refresh()
refreshConstraint()
refreshOffset()
translateWithCssPosition(object, object)
translateWithCssTransform(object, object)
updateDirection(object)
updateElement(object)
updateOffset(object, object)
updateTranslateMethod(object, object)

Properties

Name Description
CSS_POSITION
CSS_TRANSFORM
DIRECTION_BOTH
DIRECTION_HORIZONTAL
DIRECTION_VERTICAL
isDraggable A core util class to bring Draggable behavior to any DOM element, acts as a base class for Scroller and Sortable.
© Copyright 2005-2011 SharpKit. All rights reserved.