RSVP.EventTarget#off()

off (eventName, callback) private Defined in bower_components/rsvp/lib/rsvp/events.js:109 You can use off to stop firing a particular callback for an event: function doStuff() { // do stuff! } object.on('stuff', doStuff); object.trigger('stuff'); // doStuff will be called // Unregister ONLY the doStuff callback object.off('stuff', doStuff); object.trigger('stuff'); // doStuff will NOT be called If you don't pass a callback argument to off, ALL callbacks for the event will not be executed

Ember.computed

Ember.computed Namespace PUBLIC Defined in: packages/ember-metal/lib/computed.js:452 Module: ember-metal This helper returns a new property descriptor that wraps the passed computed property function. You can use this helper to define properties with mixins or via Ember.defineProperty(). If you pass a function as an argument, it will be used as a getter. A computed property defined in this way might look like this: let Person = Ember.Object.extend({ init() { this._super(...arguments)

RegistryProxyMixin#register()

register (fullName, factory, options) public Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:29 Registers a factory that can be used for dependency injection (with inject) or for service lookup. Each factory is registered with a full name including two parts: type:name. A simple example: let App = Ember.Application.create(); App.Orange = Ember.Object.extend(); App.register('fruit:favorite', App.Orange); Ember will resolve factories from the App namespace automatically. For

RegistryProxyMixin

RegistryProxyMixin Class PRIVATE Defined in: packages/ember-runtime/lib/mixins/registry_proxy.js:9 Module: ember-runtime RegistryProxyMixin is used to provide public access to specific registry functionality.

MutableArray#popObject()

popObjectpublic Defined in packages/ember-runtime/lib/mixins/mutable_array.js:208 Pop object from array or nil if none are left. Works just like pop() but it is KVO-compliant. let colors = ['red', 'green', 'blue']; colors.popObject(); // 'blue' console.log(colors); // ['red', 'green'] Returns: object

Mixin#reopen()

reopen (arguments) private Defined in packages/ember-metal/lib/mixin.js:518 Parameters: arguments

DS.Model#hasDirtyAttributes

hasDirtyAttributes{Boolean} Defined in addon/-private/system/model/model.js:101 Available since 1.13.0 If this property is true the record is in the dirty state. The record has local changes that have not yet been saved by the adapter. This includes records that have been created (but not yet saved) or deleted. Example var record = store.createRecord('model'); record.get('hasDirtyAttributes'); // true store.findRecord('model', 1).then(function(model) { model.get('hasDirtyAttributes'); //

ViewTargetActionSupport#nearestOfType()

nearestOfType (klass) deprecatedprivate Defined in packages/ember-views/lib/mixins/view_support.js:21 use yield and contextual components for composition instead. Return the nearest ancestor that is an instance of the provided class or mixin. Parameters: klass Class,Mixin Subclass of Ember.View (or Ember.View itself), or an instance of Ember.Mixin. Returns: Ember.View

RegistryProxyMixin#hasRegistration()

hasRegistration (fullName) Booleanpublic Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:110 Check if a factory is registered. Parameters: fullName String Returns: Boolean

Mixin#apply()

apply (obj) private Defined in packages/ember-metal/lib/mixin.js:555 Parameters: obj Returns: applied object