In my Ember app, I am trying to do some DOM updates (detatching some element & append it somewhere else)
var comp = Ember.$(this.element).detach();
Ember.$("#some-sec").append(comp);
However for some reasons, the earlier event handling goes for a toss after doing this. Am I doing something wrong ? Is this to be done in a different way for an Ember app ?
Aucun commentaire:
Enregistrer un commentaire