Skip to content

BuzzingPixelFabricator/jquery.hasScrollBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fabricator jQuery hasScrollBar Component

While this component is designed with the BuzzingPixel Fabricator Build Process in mind, it can be used anywhere (in theory).

Installing

With Fabricator and NPM, simply require this library into your project and restart the Fabricator Grunt build process.

npm install fab.jquery.has-scroll-bar --save

If you are not using Fabricator, you will need to in some manner compile src/jquery.hasScrollBar.js into your build process or put it somewhere where you can link it into your projects.

Usage

$('.my-el').hasScrollBar()

Checks if the element has a scroll bar (scrolling content).