Last active
August 29, 2015 14:23
-
-
Save jmalmin/7b95354eb867ab2d7fdf to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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="../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