Closed dkimbell13 closed 10 years ago
it's not that hard to view the code and figure it out. there are only a handful of events.
That is true. No question about it... But good documentation is part of a good plugin. I'll fork it and try to do some documentation myself, if I can find some time... Good documentation saves time too! Sorry to preach... On May 12, 2014 5:57 PM, "Vincent Gabriel" notifications@github.com wrote:
it's not that hard to view the code and figure it out. there are only a handful of events.
— Reply to this email directly or view it on GitHubhttps://github.com/VinceG/twitter-bootstrap-wizard/issues/79#issuecomment-42909648 .
I must agree with this. Not everyone can understand it by reading the code and it's not like its a lot of work to document the arguments for each event.
Probably not a priority - but what are the arguments provided to each Event Type function?
I had to look through the code for the following definitions... Which is fine, but it sure would be nice to have this in the documentation up front....
e.g. onShow($activeTab, $navigation, obj.nextIndex()) e.g. onPrevious($activeTab, $navigation, obj.previousIndex()) e.g. onTabChange($activeTab, $navigation, obj.currentIndex(), nextTab)