Skip to content

Instantly share code, notes, and snippets.

@cesarvega
Last active August 29, 2015 14:06
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 cesarvega/36d13e0863bc1e99acbd to your computer and use it in GitHub Desktop.
Save cesarvega/36d13e0863bc1e99acbd to your computer and use it in GitHub Desktop.
designer
<link href="../ace-element/ace-element.html" rel="import">
<link href="../google-map/google-map.html" rel="import">
<link href="../notification-elements/notification-alert.html" rel="import">
<link href="../smoothie-chart/smoothie-chart.html" rel="import">
<link href="../yt-video/yt-search-video.html" rel="import">
<link href="../chart-js/chart-js.html" rel="import">
<link href="../paper-calculator/paper-calculator.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#chart_js {
width: 300px;
height: 200px;
left: 50px;
top: 50px;
position: absolute;
}
#ace_element {
width: 400px;
height: 300px;
left: 910px;
top: 570px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 270px;
top: 350px;
position: absolute;
}
#notification_alert {
left: 710px;
top: 70px;
position: absolute;
}
#smoothie_chart {
left: 1050px;
top: 380px;
position: absolute;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 710px;
top: 30px;
position: absolute;
}
#paper_calculator {
width: 400px;
height: 560px;
left: 870px;
top: 330px;
position: absolute;
}
</style>
<ace-element value="function test() {
var x = true;
}" editorvalue="function test() {
var x = true;
}" id="ace_element">function test() {
var x = true;
}</ace-element>
<google-map id="google_map"></google-map>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<smoothie-chart id="smoothie_chart"></smoothie-chart>
<yt-search-video id="yt_search_video"></yt-search-video>
<chart-js kind="Radar" id="chart_js"></chart-js>
<paper-calculator responsivewidth="2000px" id="paper_calculator"></paper-calculator>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment