Skip to content

BuzzingPixelFabricator/jquery.jsHide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fabricator jQuery jsHide 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.js-hide --save

If you are not using Fabricator, you will need to in some manner compile src/jquery.jsHide.js into your build process or put it somewhere where you can link it into your projects, and src/jquery.jsHide.less will need to be compiled into your Less/CSS.

Usage

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

Adds the class js-hide.

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

Adds the class js-show.