hide-scrollbar
v0.0.2
Published
Hide scrollbar(s) of the given element both on horizotal and vertical if present.
Downloads
22
Readme
hide-scrollbar
- Hide scrollbar(s) of the given element both on horizotal and vertical if present.
Install
npm install hide-scrollbar
Usage
import hideScrollbar from 'hide-scrollbar';
// el: target element
// width: width of wrapper element of el. Required.
// height: height of wrapper element of el. Required.
hideScrollbar(el, '200px', '200px');