Skip to content

Instantly share code, notes, and snippets.

@pedrobsi
Created January 3, 2015 02:08
Show Gist options
  • Save pedrobsi/2876d659641fdc359d43 to your computer and use it in GitHub Desktop.
Save pedrobsi/2876d659641fdc359d43 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-pages/core-pages.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: 10px;
top: 20px;
position: absolute;
}
#core_pages1 {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 480px;
top: 30px;
position: absolute;
}
</style>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>Page One</section>
<section id="section1">Page Two</section>
</core-pages>
<core-pages selected="0" selectedindex="0" notap id="core_pages1">
<section id="section2" active>Page One</section>
<section id="section3">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