X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/api/Ext.dd.ScrollManager.html diff --git a/docs/api/Ext.dd.ScrollManager.html b/docs/api/Ext.dd.ScrollManager.html new file mode 100644 index 00000000..4568ee2f --- /dev/null +++ b/docs/api/Ext.dd.ScrollManager.html @@ -0,0 +1,89 @@ +Ext.dd.ScrollManager | Ext JS 4.0 Documentation +
For up to date documentation and features, visit +http://docs.sencha.com/ext-js/4-0

Sencha Documentation

+ + + + + +

Provides automatic scrolling of overflow regions in the page during drag operations.

+ + +

The ScrollManager configs will be used as the defaults for any scroll container registered with it, +but you can also override most of the configs per scroll container by adding a +ddScrollConfig object to the target element that contains these properties: hthresh, +vthresh, increment and frequency. Example usage: +

var el = Ext.get('scroll-ct');
+el.ddScrollConfig = {
+    vthresh: 50,
+    hthresh: -1,
+    frequency: 100,
+    increment: 200
+};
+Ext.dd.ScrollManager.register(el);
+
+Note: This class uses "Point Mode" and is untested in "Intersect Mode". + +
Defined By

Properties

 

The animation duration in seconds - +MUST BE less than Ext.dd.ScrollManager.frequency! (defaults to .4)

+

The animation duration in seconds - +MUST BE less than Ext.dd.ScrollManager.frequency! (defaults to .4)

+
 

True to animate the scroll (defaults to true)

+

True to animate the scroll (defaults to true)

+
 
The named drag drop group to which this container belongs (defaults to undefined). +If a ddGroup is specified, then co...

The named drag drop group to which this container belongs (defaults to undefined). +If a ddGroup is specified, then container scrolling will only occur when a dragged object is in the same ddGroup.

+
 

The frequency of scrolls in milliseconds (defaults to 500)

+

The frequency of scrolls in milliseconds (defaults to 500)

+
 
The number of pixels from the right or left edge of a container the pointer needs to be to +trigger scrolling (default...

The number of pixels from the right or left edge of a container the pointer needs to be to +trigger scrolling (defaults to 25)

+
 

The number of pixels to scroll in each scroll increment (defaults to 100)

+

The number of pixels to scroll in each scroll increment (defaults to 100)

+
 
The number of pixels from the top or bottom edge of a container the pointer needs to be to +trigger scrolling (default...

The number of pixels from the top or bottom edge of a container the pointer needs to be to +trigger scrolling (defaults to 25)

+
Defined By

Methods

 

Manually trigger a cache refresh.

+

Manually trigger a cache refresh.

+

Returns

  • void    +
 
register( +Mixed/Array el) + : void

Registers new overflow element(s) to auto scroll

+

Registers new overflow element(s) to auto scroll

+

Parameters

  • el : Mixed/Array

    The id of or the element to be scrolled or an array of either

    +

Returns

  • void    +
 

Unregisters overflow element(s) so they are no longer scrolled

+

Unregisters overflow element(s) so they are no longer scrolled

+

Parameters

  • el : Mixed/Array

    The id of or the element to be removed or an array of either

    +

Returns

  • void    +
\ No newline at end of file