Skip to content

Instantly share code, notes, and snippets.

@taotao365s
Created June 29, 2015 08:52
Show Gist options
  • Select an option

  • Save taotao365s/40b8190ad5314f01d77c to your computer and use it in GitHub Desktop.

Select an option

Save taotao365s/40b8190ad5314f01d77c to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#ace_element {
width: 400px;
height: 300px;
left: 300px;
top: 150px;
position: absolute;
}
#core_ajax {
left: 1150px;
top: 480px;
}
#paper_radio_button {
left: 20px;
top: 30px;
position: absolute;
}
</style>
<ace-element id="ace_element">function test() {
var x = true;
}</ace-element>
<paper-radio-button checked label="Radio Button" id="paper_radio_button"></paper-radio-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment