Skip to content

Instantly share code, notes, and snippets.

@frankiefu
Created March 2, 2015 23:46
Show Gist options
  • Save frankiefu/65bf1f5246e6e108b953 to your computer and use it in GitHub Desktop.
Save frankiefu/65bf1f5246e6e108b953 to your computer and use it in GitHub Desktop.
<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