Internal state, currently calculated velocity from the flick
_flicking
- protected boolean
Internal state, defines whether or not the scrollview is currently animating a flick
Internal state, defines whether or not the scrollview is currently being dragged
Internal state, defines the maximum amount that the scrollview can be scrolled along the X axis
Internal state, defines the maximum amount that the scrollview can be scrolled along the Y axis
Internal state, defines the minimum amount that the scrollview can be scrolled along the X axis
Internal state, defines the minimum amount that the scrollview can be scrolled along the Y axis
_prevent
- protected Object
Used to control whether or not ScrollView's internal
gesturemovestart, gesturemove and gesturemoveend
event listeners should preventDefault. The value is an
object, with "start", "move" and "end" properties used to
specify which events should preventDefault and which shouldn't:
{
start : false,
move : true,
end : false
}
The default values are set up in order to prevent panning,
on touch devices, while allowing click listeners on elements inside
the ScrollView to be notified as expected.
Internal state, defines whether or not the scrollview has been scrolled in the forward (distance > 0), or backward (distance < 0) direction
Internal state, defines whether or not the scrollview has been scrolled half it's width/height
Internal state, cached scrollHeight, for performance
Internal state, defines whether or not the scrollview can scroll horizontally
Internal state, defines whether or not the scrollview can scroll vertically
Internal state, cached scrollWidth, for performance
Internal state, defines whether or not the scrollview needs to snap to a boundary edge
Contains the distance (postive or negative) in pixels by which the scrollview was last scrolled. This is useful when
setting up click listeners on the scrollview content, which on mouse based devices are always fired, even after a
drag/flick.
Touch based devices don't currently fire a click event, if the finger has been moved (beyond a threshold) so this check isn't required,
if working in a purely touch based environment
Style property name to use to set transition property. Currently, Webkit specific (WebkitTransitionProperty)
Static property used to define the default attribute configuration of
the Widget.
The default bounce distance in pixels
Default Value: 150
List of class names used in the scrollview's DOM
The default easing used when animating the flick
Default Value: 'cubic-bezier(0, 0.1, 0, 1.0)'
The interval used when animating the flick
Default Value: 30
The identity of the widget.
Default Value: 'scrollview'
The default easing to use when animatiing the bounce snap back.
Default Value: 'ease-out'
Flag used to source property changes initiated from the DOM
Default Value: "ui"