Skip to content

[Polymer 1.x] A template element that repeat n times its content.

License

Notifications You must be signed in to change notification settings

GeoloeG/dom-repeat-n

Repository files navigation

Published on webcomponents.org

<dom-repeat-n>

Descripton

A template element that repeat n times its content.

Install

Install the component using Bower:

$ bower install dom-repeat-n --save

Usage

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.

More Demos

https://geoloeg.github.io/dom-repeat-n/

Discussing

If you have any questions, you can find me on the Polymer Slack Channel, or just raise an Issue.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

About

[Polymer 1.x] A template element that repeat n times its content.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages