Skip to content

Instantly share code, notes, and snippets.

@theicfire
Created September 29, 2014 18:36
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 theicfire/737a889b8deaba520691 to your computer and use it in GitHub Desktop.
Save theicfire/737a889b8deaba520691 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../code-mirror/code-mirror.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#code_mirror {
width: 400px;
height: 300px;
left: 430px;
top: 170px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 730px;
top: 100px;
position: absolute;
}
#speech_mic {
left: 920px;
top: 480px;
position: absolute;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 930px;
top: 360px;
position: absolute;
}
#paper_radio_button {
left: 340px;
top: 550px;
position: absolute;
}
</style>
<code-mirror value="<polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>" id="code_mirror"><polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element></code-mirror>
<speech-mic id="speech_mic"></speech-mic>
<yt-search-video id="yt_search_video"></yt-search-video>
<cool-clock skin="Stone" id="cool_clock"></cool-clock>
<paper-radio-button label="Radio Button" toggles id="paper_radio_button" start-justified></paper-radio-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment