Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

foreach not on a model, but on a model's value #3

podefr opened this Issue Mar 8, 2012 · 2 comments


None yet
2 participants

podefr commented Mar 8, 2012

ModelPlugin should also allow for looping through a model's value.

Say we have a list of people with 1 to n ways of contacting them.

We should be able to do :

<div data-model="foreach">
     <ul data-model="foreach:contacts">

@ghost ghost assigned podefr Mar 8, 2012


podefr commented Jul 28, 2013

bind should detect an array in the model and react accordingly


bredele commented Jul 28, 2013

Hey @podefr in order to do that you should be able to listen changes on the contacts attributes right? I mean contacts should be a Store itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment