DS.Model#ready event

ready Defined in addon/-private/system/model/model.js:422 Fired when the record is ready to be interacted with, that is either loaded from the server or created locally.

Classes and Instances

Classes and Instances As you learn about Ember, you'll see code like Ember.Component.extend() and DS.Model.extend(). Here, you'll learn about this extend() method, as well as other major features of the Ember object model. Defining Classes To define a new Ember class, call the extend() method on Ember.Object: const Person = Ember.Object.extend({ say(thing) { alert(thing); } }); This defines a new Person class with a say() method. You can also create a subclass from any existing class

Component#willUpdate()

willUpdatepublic Defined in packages/ember-htmlbars/lib/component.js:432 Available since 1.13.0 Called when the component is about to update and rerender itself. Called only during a rerender, not during an initial render.

DS.Model#send()

send (name, context) private Defined in addon/-private/system/model/model.js:480 Parameters: name String context Object

DS.RESTAdapter#findMany()

findMany (store, type, ids, snapshots) Promise Inherited from DS.Adapter but overwritten in addon/adapters/rest.js:548 Called by the store in order to fetch several records together if coalesceFindRequests is true For example, if the original payload looks like: { "id": 1, "title": "Rails is omakase", "comments": [ 1, 2, 3 ] } The IDs will be passed as a URL-encoded Array of IDs, in this form: ids[]=1&ids[]=2&ids[]=3 Many servers, such as Rails and PHP, will automatically co

Templates.helpers.input()

input (options) public Defined in packages/ember-htmlbars/lib/keywords/input.js:8 The {{input}} helper lets you create an HTML <input /> component. It causes an Ember.TextField component to be rendered. For more info, see the Ember.TextField docs and the templates guide. {{input value="987"}} renders as: <input type="text" value="987" /> Text field If no type option is specified, a default of type 'text' is used. Many of the standard HTML attributes may be passed to this helpe

DS.JSONSerializer#normalizeDeleteRecordResponse()

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

LinkComponent#tabindex

tabindexpublic Defined in packages/ember-htmlbars/lib/components/link-to.js:382 Sets the tabindex attribute of the LinkComponent's HTML element. Default: null

DS.RecordArrayManager

DS.RecordArrayManager Class PRIVATE Extends: Ember.Object Defined in: addon/-private/system/record-array-manager.js:57 Module: ember-data

Ember.setEngineParent()

setEngineParent (engine, parent) private Defined in packages/ember-application/lib/system/engine-parent.js:23 setEngineParent sets an engine instance's parent instance. Parameters: engine EngineInstance An engine instance. parent EngineInstance The parent engine instance.