ab-scroll-util

0.0.2 • Public • Published

ab-scroll-util

Simple Scroll Utilities.

Disable / Enable scroll, and get scrollbar width in pixels.

  • disableScroll
  • enableScroll
  • getScrollbarWidth

Install

With npm do:

$ npm install ab-scroll-util --save-dev

Usage

var scrollutil = require('ab-scroll-util');

scrollutil.disableScroll();
scrollutil.enableScroll();

var scrollbar_width = scrollutil.getScrollbarWidth();

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i ab-scroll-util

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • antoniobrandao