ember.js - Ember View not working -


i have following route. template changes based on value.

app.indexroute = ember.route.extend({     setupcontroller: function(controller, model){      },     rendertemplate: function(){         if(this.controllerfor('index').customerselected)             this.render('customerproject');         else             this.render('index');             } }) 

and have wrote view follow.

app.indexview = ember.view.extend({         didinsertelement: function(){         // someting     } }) 

my problem didinsertelement not working.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -