scrollbarwidth
v0.1.3
Published
Get scrollbar width.
Downloads
37,641
Maintainers
Readme
scrollbarWidth.js
Get scrollbar width.
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.