scrollbarwidth
Get scrollbar width.
Last updated 11 years ago by felixexter .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (9 years ago)

4 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |