ScrollToPlugin.config
ScrollToPlugin.config( vars:Object )
Allows you to configure the global behavior of ScrollToPlugin like autoKill
Parameters
vars: Object
A configuration object with the properties you'd like to affect, like
{ autoKill: true }
Details
Allows you to configure the global behavior of ScrollToPlugin like:
- autoKill [Boolean] - if
true
, ScrollToPlugin will automatically sense if the scroll position was changed outside of itself (like if the user manually started dragging the scrollbar mid-tween) and cancel that portion of the tween.
Example
ScrollToPlugin.config({ autoKill: true })
ScrollToPlugin.config()
was added in version 3.12.6