Skip to content

Instantly share code, notes, and snippets.

@DeanMarkTaylor
Created June 27, 2014 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DeanMarkTaylor/f6a258239aae70bb5d74 to your computer and use it in GitHub Desktop.
Save DeanMarkTaylor/f6a258239aae70bb5d74 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../paper-progress/paper-progress.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-button/paper-button.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<link rel="import" href="../core-icons/iconsets/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#chart_js {
width: 300px;
height: 250px;
}
#speech_mic {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 860px;
top: 60px;
position: absolute;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 340px;
top: 180px;
position: absolute;
}
#paper_progress {
left: 870px;
top: 430px;
position: absolute;
}
#paper_icon_button {
left: 1060px;
top: 520px;
position: absolute;
}
#paper_button {
left: 770px;
top: 600px;
position: absolute;
}
#paper_input {
left: 780px;
top: 670px;
position: absolute;
}
#paper_fab {
left: 760px;
top: 290px;
position: absolute;
}
</style>
<speech-mic id="speech_mic">{{ $.yt_search_video.textContent }}</speech-mic>
<paper-progress id="paper_progress"></paper-progress>
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-input label="Type something..." id="paper_input"></paper-input>
<yt-search-video id="yt_search_video"></yt-search-video>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>
<chart-js kind="Radar" id="chart_js"></chart-js>
</section>
<section id="section1">Page Two</section>
</core-pages>
</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