Created
December 4, 2015 23:01
-
-
Save mattbogado/945bfc3c02c8629f63f3 to your computer and use it in GitHub Desktop.
Centered paper-tabs example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<paper-toolbar id="mainToolbar"> | |
<!-- Space to the Left --> | |
<span class="flex"></span> | |
<!-- Tabs --> | |
<paper-tabs id="mainTabs" attr-for-selected="data-route" selected="{{route}}"> | |
<paper-tab data-route="home" href="/" on-click="onDataRouteClick">Home</paper-tab> | |
<paper-tab data-route="videos" href="/videos" on-click="onDataRouteClick">Videos</paper-tab> | |
<paper-tab data-route="photos" href="/photos" on-click="onDataRouteClick">Photos</paper-tab> | |
<paper-tab data-route="contact" href="/contact" on-click="onDataRouteClick">Contact</paper-tab> | |
</paper-tabs> | |
<!-- Space to the Right --> | |
<span class="flex"></span> | |
</paper-toolbar> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment