mardi 8 mars 2016

set parameter to default loading route - ember js

I have several routes in my ember project, sometimes to load some views needs time, so I added loading template with custom text, which is automatically is shown by ember while loading.

Is there any way to pass and get some parameter in the loading page?

for example in the step1 on button click action:

  controller.transitionToRoute('submit-invoices',data);

and while

submit-invoices will load, loading template is shown.... I need to pass some parameter to loading screen.




Aucun commentaire:

Enregistrer un commentaire