hide-scrollbar

0.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i hide-scrollbar

Weekly Downloads

6

Version

0.0.2

License

MIT

Unpacked Size

4.04 kB

Total Files

4

Last publish

Collaborators

  • hehe1111