Responsive-Tabs
Responsive-Tabs copied to clipboard
Load and emitted events
I am trying to key on when the accordion loads, however using the "load" option to attach a function does not seem to fire, and trying the "tabs-load" does not work either.
Can you please explain how to use this features?
I have tried the following:
$('#tab-container').responsiveTabs({
<otheroptions>,
load: function () {
console.log("test");
}
});
$('#tab-container').responsiveTabs({
<otheroptions>,
load: function (event, firstTab) {
console.log("test");
}
});
and:
$('#tab-container').responsiveTabs({
<otheroptions>
}).on('tabs-load', function () {
console.log("test");
});
And I am not seeing my log statements. I see other log statements that I ahve running on the page, and have tried warn() and error() just to see.
developers are too lazy to answer? or don't know what to say?