Created
June 10, 2014 00:44
-
-
Save adewinne/04b8e7f35662bf2a50ad to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../chart-js/chart-js.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#three_js_cube3 { | |
left: 1040px; | |
top: 520px; | |
} | |
#chart_js { | |
width: 300px; | |
height: 200px; | |
left: -410px; | |
top: -140px; | |
position: absolute; | |
} | |
#core_field { | |
left: 290px; | |
top: 50px; | |
position: absolute; | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
} | |
#svg { | |
pointer-events: none; | |
width: 24px; | |
height: 24px; | |
vertical-align: middle; | |
} | |
</style> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input placeholder="text input" inputvalue="28,48,40,19,96,27,100" value="28,48,40,19,96,27,100" id="core_input" flex></core-input> | |
</core-field> | |
<chart-js kind="Radar" datastring="{{ $.core_input.value }}" id="chart_js"></chart-js> | |
</template> | |
<script> | |
Polymer('my-element', { | |
value: [object HTMLElement] | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment