0.0.2 • Published 6 years ago

hide-scrollbar v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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');
0.0.2

6 years ago

0.0.1

6 years ago