--- url: /reference/items/Slider/js-api/slider-drag.md --- # SliderDrag Adds drag capabilities to the slider. It should wrap the slider items, usually placed on the [`wrapper` ref](./slider.md#wrapper). ```html
...
``` This component uses the [`withDrag` decorator](https://js-toolkit.studiometa.dev/api/decorators/withDrag.html) and inherits from its APIs. ## Options ### `scrollLockThreshold` * Type: `number` * Default: `10` The scroll distance used to test if the scroll should be prevented.