@os-design/use-drag
v1.0.16
Published
Handles the drag gesture. On touch devices, the event is triggered by a long press. On the mouse devices, the event is triggered when you click on the element and start dragging it.
Downloads
116
Readme
@os-design/use-drag
Handles the drag gesture. On touch devices, the event is triggered by a long press. On the mouse devices, the event is triggered when you click on the element and start dragging it.
Installation
Install the package using the following command:
yarn add @os-design/use-drag
See all the features in the Storybook.