Skip to content

Instantly share code, notes, and snippets.

@jvelezpo
Created July 31, 2014 00:33
Show Gist options
  • Save jvelezpo/9c26ee664ca410dc2ed6 to your computer and use it in GitHub Desktop.
Save jvelezpo/9c26ee664ca410dc2ed6 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#the_paper_tabs {
width: 100%;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#paper_toast {
left: 500px;
top: 320px;
position: absolute;
}
</style>
<paper-tabs id="the_paper_tabs">
<paper-tab id="paper_tab3" name="one">ITEM ONE</paper-tab>
<paper-tab id="paper_tab4" name="two">ITEM TWO</paper-tab>
<paper-tab id="paper_tab5" name="three">ITEM THREE</paper-tab>
</paper-tabs>
<paper-input label="Here it goes" floatinglabel value="{{ $.the_paper_tabs.selected }}" id="paper_input"></paper-input>
<paper-toast text="Connection timed out. Showing limited messages." id="toast2" class="core-transition core-transition-bottom">
<div on-tap="{{ retry }}">Retry</div>
</paper-toast>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment