Releases: elboletaire/tabbedcontent
Releases · elboletaire/tabbedcontent
Added events
Now you can set onInit
and onSwitch
as jQuery / Zepto events.
Bootstrap friendly + Zepto.js compatibility + much more
- Now tabbedcontent is Bootstrap Friendly!
- Added demos for twitter bootstrap + a multiple tabbedcontent demo.
- TabbedContent is now Zepto.js compatible!
- Renamed to just
tabbedcontent
instead ofjquery.tabbedcontent
- Added demo for zepto + bootstrap.
- Added to bower packages.
- Removed unnecessary method getCurrentId.
- Added docblocks.
- Now you can set the default active tab by just setting the
active
class to your desired tab. - Fixed tab error class being set to tab contents instead of the tab itself.
- Fixed getCurrent method not properly returning current tab on certain circumstances.
- Fixed tabs with absolute links defined not properly working.
- Fixed html5shiv uri on demo files.
- Added to packagist.
Now under a MIT license.
Which iz?
- New
isFirst
andisLast
methods - Improved performance removing repetitive calls to
getCurrent
method - Now
onInit
andonSwitch
both have params to access the api (check the readme for details)
Added new API methods
Added four new API methods: getCurrent(), getCurrentId(), next(loop) and prev(loop)
Now you can switch better between tabs thanks to them 😄