Registry#expandLocalLookup()

expandLocalLookup (fullName, options) Stringprivate Defined in packages/container/lib/registry.js:778 Given a fullName and a source fullName returns the fully resolved fullName. Used to allow for local lookup. let registry = new Registry(); // the twitter factory is added to the module system registry.expandLocalLookup('component:post-title', { source: 'template:post' }) // => component:post/post-title Parameters: fullName String options [Object] source [String] the fullname

Application#customEvents

customEventsObjectpublic Defined in packages/ember-application/lib/system/application.js:237 The DOM events for which the event dispatcher should listen. By default, the application's Ember.EventDispatcher listens for a set of standard DOM events, such as mousedown and keyup, and delegates them to your application's Ember.View instances. If you would like additional bubbling events to be delegated to your views, set your Ember.Application's customEvents property to a hash containing the DOM

DS.Model#changedAttributes()

changedAttributesObject Defined in addon/-private/system/model/model.js:605 Returns an object, whose keys are changed properties, and value is an [oldProp, newProp] array. The array represents the diff of the canonical state with the local state of the model. Note: if the model is created locally, the canonical state is empty since the adapter hasn't acknowledged the attributes yet: Example app/models/mascot.js import DS from 'ember-data'; export default DS.Model.extend({ name: attr('str

Evented#on()

on (name, target, method) public Defined in packages/ember-runtime/lib/mixins/evented.js:52 Subscribes to a named event with given function. person.on('didLoad', function() { // fired once the person has loaded }); An optional target can be passed in as the 2nd argument that will be set as the "this" for the callback. This is a good way to give your function access to the object triggering the event. When the target parameter is used the callback becomes the third argument. Parameters:

Component#didReceiveAttrs event

didReceiveAttrspublic Defined in packages/ember-htmlbars/lib/component.js:364 Available since 1.13.0 Called when the attributes passed into the component have been updated. Called both during the initial render of a container and during a rerender. Can be used in place of an observer; code placed here will be executed every time any attribute updates.

Ember.computed.uniq()

uniq (propertyKey) Ember.ComputedPropertypublic Defined in packages/ember-runtime/lib/computed/reduce_computed_macros.js:330 A computed property which returns a new array with all the unique elements from one or more dependent arrays. Example let Hamster = Ember.Object.extend({ uniqueFruits: Ember.computed.uniq('fruits') }); let hamster = Hamster.create({ fruits: [ 'banana', 'grape', 'kale', 'banana' ] }); hamster.get('uniqueFruits'); // ['banana', 'grape', 'kale']

Freezable#freeze()

freezeObjectprivate Defined in packages/ember-runtime/lib/mixins/freezable.js:90 Freezes the object. Once this method has been called the object should no longer allow any properties to be edited. Returns: Object receiver

Ember.run.throttle()

throttle (target, method, args*, spacing, immediate) Arraypublic Defined in packages/ember-metal/lib/run_loop.js:625 Ensure that the target method is never called more frequently than the specified spacing period. The target method is called immediately. function whoRan() { console.log(this.name + ' ran.'); } let myContext = { name: 'throttle' }; run.throttle(myContext, whoRan, 150); // whoRan is invoked with context myContext // console logs 'throttle ran.' // 50ms passes run.throttle

DS.JSONAPIAdapter

DS.JSONAPIAdapter Class Extends: DS.RESTAdapter Defined in: addon/adapters/json-api.js:11 Module: ember-data

DS.VERSION

VERSIONStringstatic Defined in addon/-private/core.js:15