I send the user to the detail/edit view for an entity with js from details
I want to notify the user after the new view is loaded. Right now the notification is shown for an instant and the view is changed. Is there something like a callback parameter or 'onload' equivalent for routerjs ?
Code:
var url = '#' + this.scope + '/view/' + id; this.getRouter().navigate(url, {trigger: false}); this.getRouter().dispatch(this.scope, 'edit', { // 'view' ? id: id, rootUrl: this.options.rootUrl }); notify('hello!');