VizuaaLOG / MicroLib-Tabs

Create HTML tabs without the need of dependencies, lots of HTML markup or complex functions.
MIT License
8 stars 1 forks source link

Allow the creation of tabs programmatically #6

Closed VizuaaLOG closed 8 years ago

VizuaaLOG commented 8 years ago

If I dynamically create tabs, e.g. by appending them onto my page through jQuery or a similar library/vanilla JavaScript I want to be able to process the mark-up to generate tabs. Currently this is impossible as the code only runs once, when it is first executed.

Allow for auto detection to be disabled and/or provide a method of executing the logic on any element, regardless of whether it has the data attributes.

VizuaaLOG commented 8 years ago

This can already be achieved in v1.1.0. Using Micro.tabs(element)