Function

Function Class

Module: ember-runtime

observespublic

Defined in packages/ember-runtime/lib/ext/function.js:84

The observes extension of Javascript's Function prototype is available when EmberENV.EXTEND_PROTOTYPES or EmberENV.EXTEND_PROTOTYPES.Function is true, which is the default.

You can observe property changes simply by adding the observes call to the end of your method declarations in classes that you write. For example:

Ember.Object.ex