Responsive-Tabs icon indicating copy to clipboard operation
Responsive-Tabs copied to clipboard

Load and emitted events

Open eyekanspele opened this issue 5 years ago • 1 comments

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.

eyekanspele avatar Jan 31 '19 18:01 eyekanspele

developers are too lazy to answer? or don't know what to say?

face2005 avatar Oct 24 '20 07:10 face2005