scrollbarwidth
Get scrollbar width.
Last updated 7 years ago by felixexter .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install scrollbarwidth 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.1.3                                ...           latest (7 years ago)

4 Versions

  • 0.1.3                                ...           7 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 4
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (7)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE