Skip to content

Instantly share code, notes, and snippets.

@d2m
Created May 18, 2014 09:14
Show Gist options
  • Save d2m/30ffb83077d143d22182 to your computer and use it in GitHub Desktop.
Save d2m/30ffb83077d143d22182 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="line-chart" attributes="m">
<template>
<style>
#x_design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
</style>
line-chart: {{m}}
</template>
<script>
Polymer('line-chart', {
m: 123
});
</script>
</polymer-element>
<line-chart></line-chart>
<line-chart m="hi"></line-chart>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment