Does ember.js still support ObjectController? If not, what replaces it?

前端 未结 3 1302
死守一世寂寞
死守一世寂寞 2021-01-14 01:36

I\'m trying to learn some Ember.js and while I realize everything is in flux and the moment, it seems that this bit of code from the Sproutcore 2 guides (which are linked to

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-14 02:31

    UPDATED: Yes, Ember.ObjectController is a first-class part of Ember and is most frequently used to proxy a model's properties for easy rendering by templates. See http://emberjs.com/api/classes/Ember.ObjectController.html for documentation.

提交回复
热议问题