Skip to content

Instantly share code, notes, and snippets.

@mikehuebner
Created June 25, 2014 20:19
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 mikehuebner/ae2eb4bc6b9aff937f34 to your computer and use it in GitHub Desktop.
Save mikehuebner/ae2eb4bc6b9aff937f34 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../code-mirror/code-mirror.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;
}
#chart_js {
width: 300px;
height: 200px;
left: 890px;
top: 230px;
position: absolute;
}
#code_mirror {
width: 400px;
height: 300px;
left: 60px;
top: 70px;
position: absolute;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 640px;
top: 50px;
position: absolute;
}
</style>
<chart-js kind="Radar" id="chart_js"></chart-js>
<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>
<yt-search-video id="yt_search_video"></yt-search-video>
</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