Gets a value indicating whether auto scrolling of the document area is enabled.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
function getAutoScroll () |
true if auto scrolling is enabled, otherwise false.
If enabled, the control will scroll its content automatically when the user drags the mouse near the viewport edges. This works only if the diagram is placed inside a DIV whose overflow attribute is set to scroll or auto.