@os-design/use-drag
TypeScript icon, indicating that this package has built-in type declarations

1.0.28 • Public • Published

@os-design/use-drag NPM version BundlePhobia

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @os-design/use-drag

Weekly Downloads

20

Version

1.0.28

License

UNLICENSED

Unpacked Size

13.3 kB

Total Files

8

Last publish

Collaborators

  • oxilor