javascript - Observe every rendering (even conditionals) in EmberJS -
i want function running after rendering in emberjs has happened (globally), after "switch" in {{#if}}-{{else}}-block.
subscribing render event with
ember.subscribe("render", { before: function (name, timestamp, payload) { }, after: function (name, timestamp, payload) { // function call } });
works quite not called after rerendering via if-else-switch.
so want listen rendering globally , noticed @ end of it.
best regards martin
Comments
Post a Comment