X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/docs/output/Ext.dd.ScrollManager.html?ds=sidebyside diff --git a/docs/output/Ext.dd.ScrollManager.html b/docs/output/Ext.dd.ScrollManager.html index d34a2690..f22bae03 100644 --- a/docs/output/Ext.dd.ScrollManager.html +++ b/docs/output/Ext.dd.ScrollManager.html @@ -1,25 +1,9 @@ -
Package: | Ext.dd |
Defined In: | ScrollManager.js |
Class: | ScrollManager |
Extends: | Object |
Provides automatic scrolling of overflow regions in the page during drag operations.
+Package: | Ext.dd |
Defined In: | ScrollManager.js |
Class: | ScrollManager |
Extends: | Object |
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');
+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,
@@ -27,151 +11,17 @@ el.ddScrollConfig = {
increment: 200
};
Ext.dd.ScrollManager.register(el);
-Note: This class uses "Point Mode" and is untested in "Intersect Mode".
This class is a singleton and cannot be created directly.
Property | Defined By | |
---|---|---|
animDuration : Number The animation duration in seconds -
+MUST BE less than Ext.dd.ScrollManager.frequency! (defaults to .4) | ScrollManager | |
animate : Boolean True to animate the scroll (defaults to true) | ScrollManager | |
ddGroup : String The named drag drop group to which this container belongs (defaults to undefined).
+If a ddGroup is specified, then c... 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. | ScrollManager | |
frequency : Number The frequency of scrolls in milliseconds (defaults to 500) | ScrollManager | |
hthresh : Number 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) | ScrollManager | |
increment : Number The number of pixels to scroll in each scroll increment (defaults to 100) | ScrollManager | |
vthresh : Number 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) | ScrollManager |
Method | Defined By | |
---|---|---|
refreshCache()
+ :
+ void Manually trigger a cache refresh. Manually trigger a cache refresh. Parameters:
| ScrollManager | |
register( Mixed/Array el )
+ :
+ voidRegisters new overflow element(s) to auto scroll Registers new overflow element(s) to auto scroll Parameters:
| ScrollManager | |
unregister( Mixed/Array el )
+ :
+ voidUnregisters overflow element(s) so they are no longer scrolled Unregisters overflow element(s) so they are no longer scrolled Parameters:
| ScrollManager |