DS.JSONAPISerializer#modelNameFromPayloadKey()

modelNameFromPayloadKey (key) String Inherited from DS.JSONSerializer but overwritten in addon/serializers/json-api.js:350 Parameters: key String Returns: String the model's modelName

Container#lookupFactory()

lookupFactory (fullName, options) Anyprivate Defined in packages/container/lib/container.js:121 Given a fullName, return the corresponding factory. Parameters: fullName String options [Object] source [String] The fullname of the request source (used for local lookup) Returns: Any

Test#pauseTest()

pauseTestObjectpublic Defined in packages/ember-testing/lib/helpers/pause_test.js:6 Available since 1.9.0 Pauses the current test - this is useful for debugging while testing or for test-driving. It allows you to inspect the state of your application at any point. Example (The test will pause before clicking the button): javascript visit('/') return pauseTest(); click('.btn'); Returns: Object A promise that will never resolve

ViewTargetActionSupport#didInsertElement event

didInsertElementpublic Defined in packages/ember-views/lib/mixins/view_support.js:305 Called when the element of the view has been inserted into the DOM or after the view was re-rendered. Override this function to do any set up that requires an element in the document body. When a view has children, didInsertElement will be called on the child view(s) first, bubbling upwards through the hierarchy.

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

Ember.computed.empty()

empty (dependentKey) Ember.ComputedPropertypublic Defined in packages/ember-runtime/lib/computed/computed_macros.js:53 Available since 1.6.0 A computed property that returns true if the value of the dependent property is null, an empty string, empty array, or empty function. Example let ToDoList = Ember.Object.extend({ isDone: Ember.computed.empty('todos') }); let todoList = ToDoList.create({ todos: ['Unit Test', 'Documentation', 'Release'] }); todoList.get('isDone'); // false todoLis

Map#forEach()

forEach (callback, self) private Defined in packages/ember-metal/lib/map.js:359 Iterate over all the keys and values. Calls the function once for each key, passing in value, key, and the map being iterated over, in that order. The keys are guaranteed to be iterated over in insertion order. Parameters: callback Function self * if passed, the `this` value inside the callback. By default, `this` is the map.

Ember.listenersFor()

listenersFor (obj, eventName) private Defined in packages/ember-metal/lib/events.js:257 Parameters: obj eventName String

Array#@each

@eachpublic Defined in packages/ember-runtime/lib/mixins/array.js:555 Returns a special object that can be used to observe individual properties on the array. Just get an equivalent property on this object and it will return an enumerable that maps automatically to the named key on the member objects. @each should only be used in a non-terminal context. Example: myMethod: computed('posts.@each.author', function(){ ... }); If you merely want to watch for the array being changed, like an o

Ember.run.later()

later (target, method, args*, wait) *public Defined in packages/ember-metal/lib/run_loop.js:311 Invokes the passed target/method and optional arguments after a specified period of time. The last parameter of this method must always be a number of milliseconds. You should use this method whenever you need to run some action after a period of time instead of using setTimeout(). This method will ensure that items that expire during the same script execution cycle all execute together, which is