I'm having a problem with changing route outside Ember app. Code of the app is external and it's not possible to extend it in any ways. What I tried so far:
- Changing
location.href(Ember unable to catch this event and full page reload occurs) - Using
History.pushState()(doesn't change anything) - Changing
hrefattribute on existed link (Ember remembers initial value and ignores new one) - Thinking about compiling template with helper, but
Ember.Viewisn't globally available. And I don't know routes, however it's not a problem – I need it on one particular service and routes can be reverse engineered.
Maybe there is more elegant way to do it?
Aucun commentaire:
Enregistrer un commentaire