DS.JSONSerializer#normalizeFindRecordResponse()

normalizeFindRecordResponse (store, primaryModelClass, payload, id, requestType) Object Defined in addon/serializers/json.js:262 Available since 1.13.0 Parameters: store DS.Store primaryModelClass DS.Model payload Object id String|Number requestType String Returns: Object JSON-API Document

DS.FilteredRecordArray#updateFilter()

updateFilterprivate Defined in addon/-private/system/record-arrays/filtered-record-array.js:55

MutableArray#removeAt()

removeAt (start, len) Ember.Arraypublic Defined in packages/ember-runtime/lib/mixins/mutable_array.js:139 Remove an object at the specified index using the replace() primitive method. You can pass either a single index, or a start and a length. If you pass a start and length that is beyond the length this method will throw an OUT_OF_RANGE_EXCEPTION. let colors = ['red', 'green', 'blue', 'yellow', 'orange']; colors.removeAt(0); // ['green', 'blue', 'yellow', 'orange'] colors.removeAt(2,

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:

Dependency Injection

Dependency Injection Ember applications utilize the dependency injection ("DI") design pattern to declare and instantiate classes of objects and dependencies between them. Applications and application instances each serve a role in Ember's DI implementation. An Ember.Application serves as a "registry" for dependency declarations. Factories (i.e. classes) are registered with an application, as well as rules about "injecting" dependencies that are applied when objects are instantiated. An Ember

Map#get()

get (key) *private Defined in packages/ember-metal/lib/map.js:277 Retrieve the value associated with a given key. Parameters: key * Returns: * the value associated with the key, or `undefined`

Objects in Ember

Objects in Ember You'll notice standard JavaScript class patterns and the new ES2015 classes aren't widely used in Ember. Plain objects can still be found, and sometimes they're referred to as "hashes". JavaScript objects don't support the observation of property value changes. Consequently, if an object is going to participate in Ember's binding system you may see an Ember.Object instead of a plain object. Ember.Object also provides a class system, supporting features like mixins and constru

Ember.streams.Dependency.classStringForValue()

classStringForValue (path, val, className, falsyClassName) privatestatic Defined in packages/ember-htmlbars/lib/streams/class_name_binding.js:53 Get the class name for a given value, based on the path, optional className and optional falsyClassName. if a className or falsyClassName has been specified: if the value is truthy and className has been specified, className is returned if the value is falsy and falsyClassName has been specified, falsyClassName is returned otherwise null is returne

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

ViewTargetActionSupport#findElementInParentElement()

findElementInParentElement (parentElement) DOMElementprivate Defined in packages/ember-views/lib/mixins/view_support.js:280 Attempts to discover the element in the parent element. The default implementation looks for an element with an ID of elementId (or the view's guid if elementId is null). You can override this method to provide your own form of lookup. For example, if you want to discover your element using a CSS class name instead of an ID. Parameters: parentElement DOMElement Th