Ember.watch()

watch (obj, _keyPath) private

Defined in packages/ember-metal/lib/watching.js:24

Starts watching a property on an object. Whenever the property changes, invokes Ember.propertyWillChange and Ember.propertyDidChange. This is the primitive used by observers and dependent keys; usually you will never call this method directly but instead use higher level methods like Ember.addObserver()

Parameters:

obj
_keyPath String
doc_EmberJs
2016-11-30 16:51:49
Comments
Leave a Comment

Please login to continue.