Nucleus Powered Mitochondria

    scrollbarwidth

    0.1.3 • Public • Published

    scrollbarWidth.js

    Get scrollbar width.

    ScrollbarWidth.js

    Use

    • Set scrollbarWidth.js.
    <script src="scrollbarWidth.min.js"></script>
    • Init function & get scrollbar width.
    // Init web global
    scrollbarWidth(); // 17
     
    // You can also use with jQuery
    $.scrollbarWidth(); // 17
     
    // Or AMD/Node/CommonJS
    var scrollbarWidth = require('scrollbarWidth');
     
    scrollbarWidth(); // 17

    License

    Released under the MIT license.

    Install

    npm i scrollbarwidth

    DownloadsWeekly Downloads

    16,260

    Version

    0.1.3

    License

    MIT

    Last publish

    Collaborators

    • felixexter