Skip to content

Instantly share code, notes, and snippets.

@beriberikix
Created July 20, 2014 17:13
Show Gist options
  • Save beriberikix/b3d4735c1ccbe4309f79 to your computer and use it in GitHub Desktop.
Save beriberikix/b3d4735c1ccbe4309f79 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_selector {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_scaffold {
position: absolute;
top: 490px;
right: 0px;
bottom: 0px;
left: 1180px;
}
</style>
<core-selector selected="1" selectedindex="1" id="core_selector">
<div id="div1">Item 1</div>
<div id="div" active>Item 2</div>
<div id="div2">Item 3</div>
</core-selector>
</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