Is it possible to construct a dynamic view in Ember?
I want to iterate over the keys/field, excluding and maybe even including the id of the object, of the model to generate a view. Something like this:
{{#each todo in model.todos}}
...
{{/each}}
Can I nest another {{#each}}{{/each}}
in there to iterate over the fields and get the corresponding values? I cannot find this in the documentation.
Thanks,
Aucun commentaire:
Enregistrer un commentaire