Skip to content

Commit

Permalink
Remove Tabs implementation in javascript
Browse files Browse the repository at this point in the history
Use Mellow UI if you need tabs.
  • Loading branch information
Studio384 committed Aug 17, 2022
1 parent bc9b013 commit b95febd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 211 deletions.
14 changes: 0 additions & 14 deletions hugo/content/components/pivot.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,3 @@ You can also alter the color of only 1 pivot item.
<a class="pivot-link disabled">Disabled</a>
</nav>
{{</example>}}

## Tabs
{{<example>}}
<nav class="pivot pivot" id="myTab" role="tablist">
<button class="pivot-link active" id="home-tab" data-mellow-toggle="tab" data-mellow-target="#home" type="button" role="tab" aria-controls="home" aria-selected="true">Home</button>
<button class="pivot-link" id="profile-tab" data-mellow-toggle="tab" data-mellow-target="#profile" type="button" role="tab" aria-controls="profile" aria-selected="false">Profile</button>
<button class="pivot-link" id="contact-tab" data-mellow-toggle="tab" data-mellow-target="#contact" type="button" role="tab" aria-controls="contact" aria-selected="false">Contact</button>
</nav>
<div class="tab-box mt-3" id="tabbox">
<div class="tab-content show active" id="home" role="tabpanel" aria-labelledby="home-tab">Home</div>
<div class="tab-content" id="profile" role="tabpanel" aria-labelledby="profile-tab">Profile</div>
<div class="tab-content" id="contact" role="tabpanel" aria-labelledby="contact-tab">Contact</div>
</div>
{{</example>}}
1 change: 0 additions & 1 deletion js/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export { default as OffCanvas } from './src/offCanvas';
export { default as Tab } from './src/tab';
196 changes: 0 additions & 196 deletions js/src/tab.js

This file was deleted.

0 comments on commit b95febd

Please sign in to comment.