Skip to content

Instantly share code, notes, and snippets.

@diegogd
Last active August 11, 2016 19:47
Show Gist options
  • Select an option

  • Save diegogd/dd84aa7c8ee27a61edf6adcf16a3d9ce to your computer and use it in GitHub Desktop.

Select an option

Save diegogd/dd84aa7c8ee27a61edf6adcf16a3d9ce to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_fab {
left: 740px;
top: 80px;
position: absolute;
}
#div {
left: 120px;
top: 100px;
position: absolute;
}
#paper_icon_button {
left: 280px;
top: 30px;
position: absolute;
}
#ace_element {
width: 400px;
height: 300px;
left: 90px;
top: 360px;
position: absolute;
}
</style>
<div id="div" layout horizontal>
<paper-fab icon="check" id="paper_fab1"></paper-fab>
</div>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<ace-element mode="markdown" wrap id="ace_element">function test() {
var x = true;
}</ace-element>
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-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