javascript - Reload entire ember app -
I have an amber app that is just a small part of a larger app being displayed in its division and the rail Is surrounded by an HTML layout created in
I would like to be able to reload the Amber app on my default index path and would like to reload its data in a callback in some JavaScript. Amber I find it difficult to do this. I know that inside and amber controllers I can refresh and reload a model but how can I do this when I'm referring to running outside of JS
I should be able to do something like this:
App.LocationsController.reload ()
But unfortunately such a function does not exist I can not understand How am I supposed to remove the amber controller in. For example, How do I get inside the controller from the console in the source and reload the data (all the locations)? I can App.Router.router.refresh () but this data does not reload.
Comments
Post a Comment