/each

Allows iteration in templates

Primary LanguageJavaScript

each

Build Status

Allows iteration in templates.

Works with ripple <=0.4.0. The ripplejs/list plugin will handle lists in a better way for 0.5.0 onwards.

Installation

Install with component(1):

$ component install ripplejs/each

API

<div each="{{users}}">
  Index: {{$index}}
  <img src="{{avatar}}" />
  {{name}}
</div>

License

MIT