autoRefresh
Last updated
Last updated
Type: Boolean
Default: true
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 method.