> For the complete documentation index, see [llms.txt](https://mobius-studios.gitbook.io/selectable/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobius-studios.gitbook.io/selectable/api/options/throttle.md).

# throttle

***

Type: `{Number}`

Default: `50`

***

Sets the minimum interval in milliseconds to wait before another `resize` or `scroll` callback is invoked.

***

In order to accurately select the items with the lasso, the coordinates of each item has to be calculated based on the containers scroll position and size. These coordinates are updated and cached every time the container is resized or scrolled. Because resizing and scrolling callbacks are fired every few milliseconds, this can have a performance hit in some cases. `Selectable` can throttle these callbacks so they only fire after the set interval defined by the `throttle` setting. Higher values can increase performance on low-end devices, but can have the effect of delaying selection during auto-scrolling.

***
