Search
DiagramView.autoScroll Property
See Also
 






Gets or sets a value indicating whether automatic scrolling is enabled.

Namespace: MindFusion.Diagramming
File: DiagramView.js

 Syntax

JavaScript  Copy Code

get autoScroll() {}
set autoScroll(value) {}

 Property Value

Boolean

true to enable auto scrolling, or false otherwise. The default value is true.

 Remarks

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 view is placed inside a DIV whose overflow attribute is set to scroll or auto.

 See Also