A template element that repeat n
times its content.
Install the component using Bower:
$ bower install dom-repeat-n --save
Import Custom Element:
<link rel="import" href="bower_components/dom-repeat-n/dom-repeat-n.html">
And then use it:
<template is="dom-repeat-n" count="3">
<div>I am div {{index}}</div>
</template>
See the Documentation for more options.
https://geoloeg.github.io/dom-repeat-n/
If you have any questions, you can find me on the Polymer Slack Channel, or just raise an Issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D