ComputedProperty和Binding的对象关系如何?

时间:2014-09-27 16:14:13

标签: ember.js

我无法弄清ComputedProperty继承或导入Binding oneWay方法的位置。 这是什么api?

Todos.TodoController = Ember.ObjectController.extend({
    isEditing: false,

    // We use the bufferedTitle to store the original value of
    // the model's title so that we can roll it back later in the
    // `cancelEditing` action.
    bufferedTitle: Ember.computed.oneWay('title')

0 个答案:

没有答案