Tabslet icon indicating copy to clipboard operation
Tabslet copied to clipboard

Add options for custom selectors.

Open jasonfarrell opened this issue 9 years ago • 4 comments

This allows users to pass a selector for the tab content and any selector for tab links. It keeps the defaults.

jasonfarrell avatar Jan 05 '16 22:01 jasonfarrell

I'm fixing the new conflicts now…

jasonfarrell avatar Jan 06 '16 17:01 jasonfarrell

@vdw ready to be merged — if you agree with my changes!

jasonfarrell avatar Jan 06 '16 18:01 jasonfarrell

:+1:

Could really use targets classes so the tab list can be outside the scope of the tab contents.

somewhere else on the page

<div class="tab-list">
  <a href="overview">Overview</a>
  <a href="directions">Directions</a>
</div>

main content

<div class="tabs">
  <div class="tab" id="overview">Tab 1 Content</div>
  <div class="tab" id="directions">Tab 2 Content</div>
</div>

@jasonfarrell @vdw Any luck fixing those merge conflicts?

brandensilva avatar Sep 03 '16 21:09 brandensilva

This would be amazing! @vdw

flowdee avatar Mar 30 '17 14:03 flowdee