Skip to content

Instantly share code, notes, and snippets.

@jmalmin
Last active August 29, 2015 14:23
Show Gist options
  • Select an option

  • Save jmalmin/7b95354eb867ab2d7fdf to your computer and use it in GitHub Desktop.

Select an option

Save jmalmin/7b95354eb867ab2d7fdf to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
</style>
<ul>
<template is="dom-repeat" items="{{items}}">
<li><span class="paper-font-body1">{{item}}</span></li>
</template>
</ul>
</template>
<script>
Polymer({
is: 'my-list',
properties: {
"items": {
"notify": true
}
},
ready: function () {
this.items = [
'Some Cool stuff',
'Iron Elements and Paper Elements',
'End-to-end Build Tooling (including Vulcanize)',
'Unit testing with Web Component Tester',
'Routing with Page.js',
'Offline support with the Platinum Service Worker Elements'
];
}
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment