twitter-bootstrap-wizard icon indicating copy to clipboard operation
twitter-bootstrap-wizard copied to clipboard

Documentation not updated: Cannot get current clicked Index

Open dfloresgonz opened this issue 8 years ago • 5 comments

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 avatar Apr 20 '16 17:04 dfloresgonz

@dfloresgonz Thank you! Saved my time :)

AvaelKross avatar Aug 11 '16 12:08 AvaelKross

OMG, THANK YOU SO MUCH

annezao avatar Oct 17 '17 19:10 annezao

@dfloresgonz I am so glad I could remove all the work arounds, Thanks

VadimGut avatar May 21 '18 13:05 VadimGut

Thank you!!!!

Santukon2 avatar Sep 16 '18 09:09 Santukon2

Thank you @dfloresgonz

rogertcd avatar Sep 27 '18 15:09 rogertcd