-
Notifications
You must be signed in to change notification settings - Fork 21
autoRefresh
Karl edited this page Nov 5, 2017
·
1 revision
Automatically recalculate and cache the dimensions of the items.
When set to true
, this option tells the instance to recalculate and cache the dimensions of all selectable items on mousedown
/ touchstart
.
If you now that the dimensions of the selectable items won't change, i.e. width, height and position in the document remain unchanged, then this option can be set to false
.
If the dimensions of the items do change and the this option is set to false, then the lasso may not correctly highlight an element for selection.
You can leave this option set to false
and manually recalculate and cache the dimensions by calling the recalculate()
method.