Skip to content

Instantly share code, notes, and snippets.

@friek
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save friek/f218f771dde5234e7058 to your computer and use it in GitHub Desktop.

Select an option

Save friek/f218f771dde5234e7058 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 240px;
top: 40px;
position: absolute;
}
#paper_calculator {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#paper_checkbox {
left: 700px;
top: 120px;
position: absolute;
}
</style>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
</section>
<section id="section1">Page Two</section>
</core-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