Skip to content

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

Description

@podefr

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">
  <div>contacts: 
     <ul data-model="foreach:contacts">
          <li></li>
      </ul>
 </div>
</div>

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions