Skip to content

Instantly share code, notes, and snippets.

@jsphkhan
Created June 15, 2014 12:29
Show Gist options
  • Save jsphkhan/aaa40a9bbfff86d54ab2 to your computer and use it in GitHub Desktop.
Save jsphkhan/aaa40a9bbfff86d54ab2 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../custom-element/my-element-with-ajax.html">
<link rel="import" href="../custom-element/custom-element.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#my_element_with_ajax {
left: 110px;
top: 130px;
position: absolute;
}
#custom_element {
left: 390px;
top: 170px;
position: absolute;
}
</style>
<my-element-with-ajax id="my_element_with_ajax"></my-element-with-ajax>
<custom-element name="Ayaan" color="blue" id="custom_element">
</custom-element>
</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