Ember.run

Ember.run Namespace PUBLIC Defined in: packages/ember-metal/lib/run_loop.js:50 Module: ember-metal Runs the passed target and method inside of a RunLoop, ensuring any deferred actions including bindings and views updates are flushed at the end. Normally you should not need to invoke this method yourself. However if you are implementing raw event handlers when interfacing with other libraries or plugins, you should probably wrap all of your code inside this call. run(function() { // code

Ember.required()

requiredprivate Defined in packages/ember-metal/lib/mixin.js:650 Denotes a required property for a mixin

Ember.removeObserver()

removeObserver (obj, path, target, method) public Defined in packages/ember-metal/lib/observer.js:47 Parameters: obj path String target Object|Function method [Function|String]

Ember.run.begin()

beginVoidpublic Defined in packages/ember-metal/lib/run_loop.js:180 Begins a new RunLoop. Any deferred actions invoked after the begin will be buffered until you invoke a matching call to run.end(). This is a lower-level way to use a RunLoop instead of using run(). run.begin(); // code to be executed within a RunLoop run.end(); Returns: Void

Ember.removeListener()

removeListener (obj, eventName, target, method) public Defined in packages/ember-metal/lib/events.js:112 Remove an event listener Arguments should match those passed to Ember.addListener. Parameters: obj eventName String target Object|Function A target object or a function method Function|String A function or the name of a function to be called on `target`

Ember.propertyWillChange()

propertyWillChange (obj, keyName) Voidprivate Defined in packages/ember-metal/lib/property_events.js:27 This function is called just before an object property is about to change. It will notify any before observers and prepare caches among other things. Normally you will not need to call this method directly but if for some reason you can't directly watch a property you can invoke this method manually along with Ember.propertyDidChange() which you should call just after the property value c

Ember.removeBeforeObserver()

removeBeforeObserver (obj, path, target, method) deprecatedprivate Defined in packages/ember-metal/lib/observer.js:93 Parameters: obj path String target Object|Function method [Function|String]

Ember.onerror event

onerror (error) public Defined in packages/ember-metal/lib/index.js:380 A function may be assigned to Ember.onerror to be called when Ember internals encounter an error. This is useful for specialized error handling and reporting code. Ember.onerror = function(error) { Em.$.ajax('/report-error', 'POST', { stack: error.stack, otherInformation: 'whatever app state you want to provide' }); }; Internally, Ember.onerror is used as Backburner's error handler. Parameters: error Exc

Ember.propertyDidChange()

propertyDidChange (obj, keyName) Voidprivate Defined in packages/ember-metal/lib/property_events.js:65 This function is called just after an object property has changed. It will notify any observers and clear caches among other things. Normally you will not need to call this method directly but if for some reason you can't directly watch a property you can invoke this method manually along with Ember.propertyWillChange() which you should call just before the property value changes. Parame

Ember.onLoad()

onLoad (name, callback) private Defined in packages/ember-runtime/lib/system/lazy_load.js:14 Detects when a specific package of Ember (e.g. 'Ember.Application') has fully loaded and is available for extension. The provided callback will be called with the name passed resolved from a string into the object: Ember.onLoad('Ember.Application' function(hbars) { hbars.registerHelper(...); }); Parameters: name String name of hook callback Function callback to be called