Created
March 2, 2015 23:46
-
-
Save frankiefu/65bf1f5246e6e108b953 to your computer and use it in GitHub Desktop.
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="../../../neoprene/components/polymer/src/expr/polymer-expr.html"> | |
<dom-module id="x-app"> | |
<template> | |
<div class="container"> | |
<template is="x-repeat" items="[[items]]"> | |
<div>[[item.name]]</div> | |
</template> | |
</div> | |
</template> | |
</dom-module> | |
<script> | |
Polymer({ | |
is: 'x-app', | |
configure: function() { | |
return { | |
items: [{name: 'foo'}, {name: 'bar'}, {name: 'zot'}] | |
} | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment