Skip to content

Instantly share code, notes, and snippets.

@anfedorov
Created April 8, 2015 23:49
Show Gist options
  • Save anfedorov/6696421fa2665cdc55c9 to your computer and use it in GitHub Desktop.
Save anfedorov/6696421fa2665cdc55c9 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../core-menu-button/core-menu-button.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#ace_element {
width: 400px;
height: 300px;
left: 380px;
top: 210px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 420px;
top: 130px;
position: absolute;
}
#core_menu_button {
left: 160px;
top: 10px;
position: absolute;
width: 90px;
height: 140px;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 510px;
top: 110px;
position: absolute;
background-color: rgb(238, 238, 238);
}
</style>
<ace-element id="ace_element">function test() {
var x = true;
}</ace-element>
<chart-js id="chart_js"></chart-js>
<core-menu-button opened id="core_menu_button" icon="more-vert" selected="0" relative>
<core-item id="core_item" icon="content-cut" label="Cut" horizontal center layout></core-item>
<core-item id="core_item1" icon="content-copy" label="Copy" horizontal center layout></core-item>
<core-item id="core_item2" icon="content-paste" label="Paste" horizontal center layout></core-item>
</core-menu-button>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section" layout horizontal center center-justified active>
</section>
<section id="section1">
</section>
<section id="section2">
</section>
</core-animated-pages>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment