mobify / stencil

DEPRECIATED - The latest Stencil development is currently taking place in the Adaptive.js repo.
MIT License
4 stars 0 forks source link

Add Tabs component #136

Closed nastiatikk closed 6 years ago

nastiatikk commented 9 years ago

This PR adds the Tabs component This PR is continuation of https://github.com/mobify/stencil/pull/110

Status: Ready for Review Owner: @cole-sanderson Reviewers: @ry5n @jeffkamo @mlworks @nastiatikk @avelinet @yourpalsonja

Todo

ry5n commented 9 years ago

I really want to engineer this so the Tabs are entirely separate from the tabbed content that they control. I think this is essential for flexibility – being able to place the tabs inside of a wrapper component for example (like the BTR site header) and the content somewhere else.

For an example of what that might look like, take the Paper Tabs component from Polymer. They have a separate component that is very much like Scooch that is controlled by the Tabs component.