Last active
August 29, 2015 14:09
-
-
Save hiteshagja/c3dd9785d598ad74761d to your computer and use it in GitHub Desktop.
designer
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="../polymer/polymer.html"> | |
<polymer-element name="greeting-tag"> | |
<template> | |
<style> | |
</style> | |
<ul> | |
<template repeat="{{s in salutations}}"> | |
<li> | |
<input id="input" type="text"> | |
</li> | |
</template> | |
</ul> | |
</template> | |
<script> | |
Polymer({ | |
ready: function () { | |
// populate the element’s data model | |
// (the salutations array) | |
this.salutations = [ | |
{what: 'Hello', who: 'World'}, | |
{what: 'GoodBye', who: 'DOM APIs'}, | |
{what: 'Hello', who: 'Declarative'}, | |
{what: 'GoodBye', who: 'Imperative'} | |
]; | |
} | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment