Skip to content

Instantly share code, notes, and snippets.

@ssijak
Created July 1, 2014 15:52
Show Gist options
  • Save ssijak/9aeb55bf21ad64257e45 to your computer and use it in GitHub Desktop.
Save ssijak/9aeb55bf21ad64257e45 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../google-map/google-map.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: 380px;
top: 170px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 630px;
top: 200px;
position: absolute;
}
#core_icon {
height: 24px;
width: 24px;
left: 310px;
top: 440px;
position: absolute;
}
#paper_tab {
width: 120px;
height: 40px;
left: 360px;
top: 510px;
position: absolute;
}
</style>
<chart-js kind="Line" id="chart_js"></chart-js>
<core-icon icon="search" id="core_icon"></core-icon>
<paper-tab id="paper_tab">TAB</paper-tab>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element><google-map id="google_map" class="drag-element"></google-map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment