Responsive Tabs is a jQuery plugin that provides responsive tab functionality. The tabs transform to an accordion when it reaches a CSS breakpoint. You can use this plugin as a solution for displaying tabs elegantly on desktop, tablet and mobile.
Is there a way to have a callback for when a tab is clicked (regardless of whether it's activated or deactivated)?
The activated callback is only run once when the tab becomes active
My requirements are that I need to know when a tab is clicked every time. The tab could be active or not-active, but I just need a callback.
In my implementation, one of the tabs activates a modal popup, but currently it only allows me to know its been clicked if it's being activated. I need to know it's been clicked even when the tab is already open.
Is there a way to have a callback for when a tab is clicked (regardless of whether it's activated or deactivated)?
The activated callback is only run once when the tab becomes active
My requirements are that I need to know when a tab is clicked every time. The tab could be active or not-active, but I just need a callback.
In my implementation, one of the tabs activates a modal popup, but currently it only allows me to know its been clicked if it's being activated. I need to know it's been clicked even when the tab is already open.