Container#registry

registryRegistryprivate Defined in packages/container/lib/container.js:42 Available since 1.11.0

DS.SnapshotRecordArray

DS.SnapshotRecordArray Class PRIVATE Defined in: addon/-private/system/snapshot-record-array.js:5 Module: ember-data

Customizing a Component's Element

Customizing a Component's Element By default, each component is backed by a <div> element. If you were to look at a rendered component in your developer tools, you would see a DOM representation that looked something like: <div id="ember180" class="ember-view"> <h1>My Component</h1> </div> You can customize what type of element Ember generates for your component, including its attributes and class names, by creating a subclass of Ember.Component in your JavaSc

Object Inspector

Object Inspector The Inspector includes a panel that allows you to view and interact with your Ember objects. To open it, click on any Ember object. You can then view the object's properties. Viewing Objects Here's what you see when you click on an object: The Inspector displays the parent objects and mixins that are composed into the chosen object, including the inherited properties. Each property value in this view is bound to your application, so if the value of a property updates in your

ApplicationInstance#customEvents

customEventsObjectprivate Defined in packages/ember-application/lib/system/application-instance.js:54 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.

DS.Adapter#findRecord()

findRecord (store, type, id, snapshot) Promise Defined in addon/adapter.js:88 The findRecord() method is invoked when the store is asked for a record that has not previously been loaded. In response to findRecord() being called, you should query your persistence layer for a record with the given ID. The findRecord method should return a promise that will resolve to a JavaScript object that will be normalized by the serializer. Here is an example findRecord implementation: app/adapters/appli

Core Concepts

Core Concepts Before you start writing any Ember code, it's a good idea to get an overview of how an Ember application works. Router and Route Handlers Imagine we are writing a web app for a site that lets users list their properties to rent. At any given time, we should be able to answer questions about the current state like What rental are they looking at? and Are they editing it? In Ember, the answer to these questions is determined by the URL. The URL can be set in a few ways: The user

Router#url()

urlStringprivate Defined in packages/ember-routing/lib/system/router.js:158 Represents the current URL. Returns: String The current URL.

DS.Store#findBelongsTo()

findBelongsTo (owner, link, relationship) Promiseprivate Defined in addon/-private/system/store.js:1059 Parameters: owner DS.Model link Any relationship Relationship Returns: Promise promise

DS.JSONAPISerializer#payloadKeyFromModelName()

payloadKeyFromModelName (modelName) String Defined in addon/serializers/json-api.js:360 Parameters: modelName String Returns: String