Skip to content

Instantly share code, notes, and snippets.

@richardanaya
Last active August 29, 2015 14:10
Show Gist options
  • Select an option

  • Save richardanaya/f0cd585a38d41681dd09 to your computer and use it in GitHub Desktop.

Select an option

Save richardanaya/f0cd585a38d41681dd09 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_button {
left: 130px;
top: 50px;
position: absolute;
background-color: rgb(146, 121, 219);
}
#paper_button1 {
left: 130px;
top: 80px;
position: absolute;
}
#paper_checkbox {
left: 140px;
top: 110px;
position: absolute;
}
#paper_ripple {
width: 300px;
height: 300px;
left: 380px;
top: 220px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 450px;
top: 190px;
position: absolute;
}
#speech_mic {
left: 270px;
top: 150px;
position: absolute;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 400px;
top: 170px;
position: absolute;
}
</style>
<paper-button id="paper_button">Blah</paper-button>
<paper-button id="paper_button1">button</paper-button>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
<paper-ripple id="paper_ripple"></paper-ripple>
<chart-js id="chart_js"></chart-js>
<speech-mic id="speech_mic"></speech-mic>
<yt-search-video imfeelinglucky="mind in a box" id="yt_search_video"></yt-search-video>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment