Skip to content

Instantly share code, notes, and snippets.

@ninadpchaudhari
Created February 27, 2015 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ninadpchaudhari/99bb2158dc9e9c614acc to your computer and use it in GitHub Desktop.
Save ninadpchaudhari/99bb2158dc9e9c614acc to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-tooltip/core-tooltip.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_pages {
width: 570px;
height: 540px;
border: 1px solid silver;
left: 290px;
top: 120px;
position: absolute;
}
#core_tooltip {
left: 219px;
top: 249px;
position: absolute;
}
</style>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>
<core-tooltip label="I'm a tooltip" id="core_tooltip">
<span id="span">Hover over me.</span>
</core-tooltip>
</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