twitter-bootstrap-wizard
twitter-bootstrap-wizard copied to clipboard
Documentation not updated: Cannot get current clicked Index
I've been using onTabClick, I needed to get the index of the clicked tab, I was getting the active tab index:
onTabClick: function(tab, navigation, index) { //handle code.... }
I didn't see any help in the doc until I found this page http://code.realcrowd.com/tag/bootstrap/ and saw this:
var onTabClick = function (activeTab, navigation, currentIndex, clickedIndex) { return false; };
The clickedIndex got the value I needed, I recommend including the possible parameters the methods could take in order to have a really helpful documentation.
@dfloresgonz Thank you! Saved my time :)
OMG, THANK YOU SO MUCH
@dfloresgonz I am so glad I could remove all the work arounds, Thanks
Thank you!!!!
Thank you @dfloresgonz