ember-x-times
v0.2.0
Published
A component that renders a given block x times
Downloads
2
Readme
ember-x-times
An Ember addon that exposes a component to render a given block x number of times.
Usage
<ul>
{{#x-times 5 as |index|}}
<li>{{index}}</li>
{{/x-times}}
</ul>
Will render as list of of integers 0
through 4
.
Collaborating
Pull requests and issues are welcome.
Installation
git clone
this repositorynpm install
bower install
Running
ember server
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.