ComputedProperty

Ember.ComputedProperty Class

PUBLIC

Defined in: packages/ember-metal/lib/computed.js:27

Module: ember-metal

A computed property transforms an object literal with object's accessor function(s) into a property.

By default the function backing the computed property will only be called once and the result will be cached. You can specify various properties that your computed property depends on. This will force the cached result to be recomputed if the dependencies are modified.

In the following example we declare a computed property - fullName - by calling .Ember.computed() with property dependencies (f