jeudi 14 avril 2016

Dynamic content loading view

I have an ember component with a template that contains a table. In my component - I would like to issue out ajax calls to a 3rd party service and get some data. After getting this data, I would have to make another subsequent ajax call based on the input. Since this would take time, I would like to update the view one after the other when the ajax called finishes. In a visual sense - this would be adding a new row to the table after one request is processed.

Currently, ember only allows us to pass an array object via its model() method in the router.

I looked into several projects like List-view but it's not solving the above mentioned problem.




Aucun commentaire:

Enregistrer un commentaire