Properties Methods Events Config Options Direct Link
Observable
  Draggable
    Scroller

Class Ext.util.Scroller

Package:Ext.util
Defined In:Scroller.js
Class:Scroller
Extends:Draggable
Provide the native scrolling experience on iDevices for any DOM element

Config Options

Config OptionsDefined By
 acceleration : Number
A higher acceleration gives the scroller more initial velocity. Defaults to 30
Scroller
 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
 fps : Number
The desired fps of the deceleration. Defaults to 80.
Scroller
 group : String
Draggable and Droppable objects can participate in a group which are capable of interacting. Defaults to 'base'
Draggable
 minVelocityForAnimation : Number
The minimum velocity to keep animating. Defaults to 1 (1px per second)
Scroller
 momentum : Boolean
Whether or not to enable scrolling momentum. Defaults to true
Scroller
 startMomentumResetTime : Number
The time duration in ms to reset the start time of momentum Defaults to 350
Scroller

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