scrollbarwidth

WebJar for scrollbarwidth

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

scrollbarwidth
Last Version

Last Version

0.1.3
Release Date

Release Date

Type

Type

jar
Description

Description

scrollbarwidth
WebJar for scrollbarwidth
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/felixexter/scrollbarWidth

Download scrollbarwidth

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/scrollbarwidth/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>scrollbarwidth</artifactId>
    <version>0.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/scrollbarwidth/
implementation 'org.webjars.npm:scrollbarwidth:0.1.3'
// https://jarcasting.com/artifacts/org.webjars.npm/scrollbarwidth/
implementation ("org.webjars.npm:scrollbarwidth:0.1.3")
'org.webjars.npm:scrollbarwidth:jar:0.1.3'
<dependency org="org.webjars.npm" name="scrollbarwidth" rev="0.1.3">
  <artifact name="scrollbarwidth" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='scrollbarwidth', version='0.1.3')
)
libraryDependencies += "org.webjars.npm" % "scrollbarwidth" % "0.1.3"
[org.webjars.npm/scrollbarwidth "0.1.3"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

⚠️ This project in not maintained! Fork for any improvements!

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.

Versions

Version
0.1.3