Ember.js 2.3 implement @each.property observer on a HasMany relationship?

后端 未结 2 1048
一向
一向 2020-12-06 08:36

Say I have a hasMany relationship Procedure => hasMany Steps, with async:true, and I have a Procedure Component (on the procedure route) called procedure-main, which lists t

2条回答
  •  粉色の甜心
    2020-12-06 09:12

    You should still use @each

    stepsStatusObserver: Ember.observer('steps.@each.stepStatus', function(){
    ...
    })
    

提交回复
热议问题