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

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -