:open_file_folder: jQuery / Zepto lightweight tabs plugin
Now you can set onInit
and onSwitch
as jQuery / Zepto events.
tabbedcontent
instead of jquery.tabbedcontent
active
class to your desired tab.isFirst
and isLast
methodsgetCurrent
methodonInit
and onSwitch
both have params to access the api (check the readme for details)Added four new API methods: getCurrent(), getCurrentId(), next(loop) and prev(loop)
Now you can switch better between tabs thanks to them :smile: