Closed matthewhall closed 11 years ago
I've recently realised that it's extremely handy to provide a destroy method to remove an instance of the plugin. This is helpful in responsive sites where it might not be necessary to use tabs on smaller devices.
destroy
Something as simple as this:
$('.container').mtabs('destroy');
I've recently realised that it's extremely handy to provide a
destroy
method to remove an instance of the plugin. This is helpful in responsive sites where it might not be necessary to use tabs on smaller devices.Something as simple as this: