Skip to content

React DragScroll is a React component which enables scrolling via holding the mouse button.

License

Notifications You must be signed in to change notification settings

rudza/react-dragscroll

 
 

Repository files navigation

react-dragscroll

React DragScroll is a React component which enables scrolling via holding the mouse button.

install

npm install react-dragscroll --save

example

<DragScroll height={200} width={300}>
          <div>test1</div>
          <div>test2</div>
          <div>test3</div>
          <div>test4</div>
          <div>test5</div>
          <div>test6</div>
          <div>test7</div>
          <div>test8</div>
          <div>test9</div>
          <div>test10</div>
          <div>test11</div>
          <div>test12</div>
          <div>test13</div>
          <div>test14</div>
          <div>test15</div>
          <div>test16</div>
          <div>test17</div>
          <div>test18</div>
          <div>test19</div>
          <div>test20</div>
</DragScroll>

license

MIT

About

React DragScroll is a React component which enables scrolling via holding the mouse button.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.9%
  • HTML 3.1%