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

The library needs to take into account all elements found via querySelectAll #4

Closed VizuaaLOG closed 9 years ago

VizuaaLOG commented 9 years ago

Currently the library assumes the first element inside the array from querySelectorAll is the element wanting to be searched through. However to complete #3 this needs to change. If the query string provided was .tabs and there are three .tabs divs on the page, with each one having the data-micro="tabs" attribute all of these need to be processed, otherwise each one would need to be given an ID and then called via that selector.