Last active
August 29, 2015 14:07
-
-
Save jvelezpo/e69badf3f1bf1bdf0e62 to your computer and use it in GitHub Desktop.
designer
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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-icon-button/paper-icon-button.html"> | |
<link rel="import" href="../paper-progress/paper-progress.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_toolbar { | |
right: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
</style> | |
<core-toolbar id="core_toolbar" class="tall"> | |
<paper-icon-button icon="menu" id="core_icon_button"></paper-icon-button> | |
<div id="div" class="middle indent"><p>The p <strong>{{ i }}</strong></p></div> | |
<span id="span" flex></span> | |
<paper-icon-button icon="search" id="core_icon_button1"></paper-icon-button> | |
<paper-progress value="{{ i }}" ratio="15" id="paper_progress" class="bottom fit"></paper-progress> | |
</core-toolbar> | |
<span id="el">Not ready...</span> | |
<input id="ageInput" type="range"> | |
<input id="nameInput" placeholder="Enter number..."> | |
<p></p> | |
</template> | |
<script> | |
Polymer({ | |
i: 15, | |
owner: 'Daniel', | |
ready: function () { | |
this.$.el.textContent = this.owner + " is ready!"; | |
} | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment