Skip to content

Instantly share code, notes, and snippets.

@sgcdata
Created August 26, 2014 10:27
Show Gist options
  • Save sgcdata/df6d68c2bfbcd45e538f to your computer and use it in GitHub Desktop.
Save sgcdata/df6d68c2bfbcd45e538f to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-radio-group/paper-radio-group.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_radio_group {
left: 150px;
top: 90px;
position: absolute;
}
#paper_calculator {
width: 375px;
height: 560px;
left: 80px;
top: 140px;
position: absolute;
}
</style>
<paper-radio-group id="paper_radio_group" selected="Small" valueattr="label">
<paper-radio-button label="First" id="paper_radio_button"></paper-radio-button>
<paper-radio-button label="Second" id="paper_radio_button1"></paper-radio-button>
<paper-radio-button label="Third" id="paper_radio_button2"></paper-radio-button>
</paper-radio-group>
<paper-calculator id="paper_calculator" responsivewidth="2000px"></paper-calculator>
</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