Nurturing Palpable Magnificence

    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

    Keywords

    Install

    npm i ab-scroll-util

    DownloadsWeekly Downloads

    5

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • antoniobrandao