DS.JSONAPIAdapter

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

EventDispatcher#registeredActions

registeredActionsObjectprivate Defined in packages/ember-views/lib/system/action_manager.js:8 Global action id hash.

Ember.copy()

copy (obj, deep) Objectpublic Defined in packages/ember-runtime/lib/copy.js:66 Creates a shallow copy of the passed object. A deep copy of the object is returned if the optional deep argument is true. If the passed object implements the Ember.Copyable interface, then this function will delegate to the object's copy() method and return the result. See Ember.Copyable for further details. For primitive values (which are immutable in JavaScript), the passed object is simply returned. Paramete

DefaultResolver#parseName()

parseName (fullName) protected Defined in packages/ember-application/lib/system/resolver.js:197 Convert the string name of the form 'type:name' to a Javascript object with the parsed aspects of the name broken out. Parameters: fullName String the lookup string

EventDispatcher#rootElement

rootElementDOMElementprivate Defined in packages/ember-views/lib/system/event_dispatcher.js:94 The root DOM element to which event listeners should be attached. Event listeners will be attached to the document unless this is overridden. Can be specified as a DOMElement or a selector string. The default body is a string since this may be evaluated before document.body exists in the DOM. Default: 'body'

DS.FilteredRecordArray#filterFunction()

filterFunction (record) Boolean Defined in addon/-private/system/record-arrays/filtered-record-array.js:21 The filterFunction is a function used to test records from the store to determine if they should be part of the record array. Example var allPeople = store.peekAll('person'); allPeople.mapBy('name'); // ["Tom Dale", "Yehuda Katz", "Trek Glowacki"] var people = store.filter('person', function(person) { if (person.get('name').match(/Katz$/)) { return true; } }); people.mapBy('name');

DS.Adapter#query()

query (store, type, query, recordArray) Promise Defined in addon/adapter.js:154 This method is called when you call query on the store. Example app/adapters/application.js import DS from 'ember-data'; export default DS.Adapter.extend({ query: function(store, type, query) { return new Ember.RSVP.Promise(function(resolve, reject) { Ember.$.getJSON(`/${type.modelName}`, query).then(function(data) { resolve(data); }, function(jqXHR) { reject(jqXHR); });

Templates.helpers.partial()

partial (partialName) public Defined in packages/ember-htmlbars/lib/keywords/partial.js:9 The partial helper renders another template without changing the template context: {{foo}} {{partial "nav"}} The above example template will render a template named "-nav", which has the same context as the parent template it's rendered into, so if the "-nav" template also referenced {{foo}}, it would print the same thing as the {{foo}} in the above example. If a "-nav" template isn't found, the parti

Ember.inject.service()

service (name) Ember.InjectedPropertypublic Defined in packages/ember-runtime/lib/system/service.js:5 Available since 1.10.0 Creates a property that lazily looks up a service in the container. There are no restrictions as to what objects a service can be injected into. Example: App.ApplicationRoute = Ember.Route.extend({ authManager: Ember.inject.service('auth'), model: function() { return this.get('authManager').findCurrentUser(); } }); This example will create an authManager p

Registry#normalize()

normalize (fullName) Stringprivate Defined in packages/container/lib/registry.js:303 Normalize a fullName based on the application's conventions Parameters: fullName String Returns: String normalized fullName