lundi 15 juin 2015

Ember 1.13, view lookup.

Prior to ember 1.13 i was using

  `var conatinerView = Em.View.views[view_id]` 

to get the ContainerView instance with the view id and manually adding childViews to this container view, which used to work just fine.

As of ember 1.13 this view lookup is not supported. What is the recommended way of doing this?

The problem is there are multiple instances of the same containerView with different id's. So i need to get the right instance of containerView from lookup.

Thanks




Aucun commentaire:

Enregistrer un commentaire