jquery-vtoggle
v1.0.7
Published
Fastest jQuery plugin for toggling elements
Downloads
12
Maintainers
Readme
jQuery.vToggle
The fastest jQuery plugin for showing/hiding elements.
This is meant to be a drop in replacement for jQuery's .show()
and .hide()
.
Installation
Install the latest version via npm:
npm install jquery.vtoggle
Install the latest version via bower:
bower install jquery.vtoggle
Usage
vShow()
will show the selected element(s) as display block by adding a special class called display-block
.
$('.selector').vShow();
You can pass inline-block
and inline
as optional parameters to vShow to control the way the element will display
$('.selector').vShow('inline'); // will display the element as inline
To hide elements, simply call .vHide()
$('.selector').vHide();
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
History
Version 1.0.0 - Initial commit
Credits
Thanks to the Grey Wall Software team!