Friday 15 June 2012

javascript - How do I loop through nested Models in CanJS -


I get nested JSON data through a model

I have a model of nested data in the model How can I loop from, can I pass my scene file in cans?

You can create a can. List using your Json data. Then pass that list to the view in this view you can use the list assistant. Here's an example:



No comments:

Post a Comment