DS.JSONSerializer#_normalizeResponse()

_normalizeResponse (store, primaryModelClass, payload, id, requestType, isSingle) Objectprivate Defined in addon/serializers/json.js:444 Parameters: store DS.Store primaryModelClass DS.Model payload Object id String|Number requestType String isSingle Boolean Returns: Object JSON-API Document

Test#originalMethods

originalMethods{Object}private Defined in packages/ember-testing/lib/ext/application.js:29 Available since 1.3.0 This property will contain the original methods that were registered on the helperContainer before injectTestHelpers is called. When removeTestHelpers is called, these methods are restored to the helperContainer. Default: {}

Templates.helpers.with()

with (options) Stringpublic Defined in packages/ember-htmlbars/lib/helpers/with.js:8 Use the {{with}} helper when you want to alias a property to a new name. This is helpful for semantic clarity as it allows you to retain default scope or to reference a property from another {{with}} block. If the aliased property is "falsey", for example: false, undefined null, "", 0, NaN or an empty array, the block will not be rendered. {{! Will only render if user.posts contains items}} {{#with user.pos

Customizing Serializers

Customizing Serializers In Ember Data, serializers format the data sent to and received from the backend store. By default, Ember Data serializes data using the JSON API format. If your backend uses a different format, Ember Data allows you to customize the serializer or use a different serializer entirely. Ember Data ships with 3 Serializers. The JSONAPISerializer is the default serializer and works with JSON API backends. The JSONSerializer is a simple serializer for working with single jso

Test#resolve()

resolve (The) public Defined in packages/ember-testing/lib/test/promise.js:39 Available since 1.2.0 Replacement for Ember.RSVP.resolve The only difference is this uses an instance of Ember.Test.Promise Parameters: The Mixed value to resolve

LinkComponent#href

hrefprivate Defined in packages/ember-htmlbars/lib/components/link-to.js:695 Sets the element's href attribute to the url for the LinkComponent's targeted route. If the LinkComponent's tagName is changed to a value other than a, this property will be ignored.

DS.JSONAPISerializer#serializeAttribute()

serializeAttribute (snapshot, json, key, attribute) Inherited from DS.JSONSerializer but overwritten in addon/serializers/json-api.js:487 Parameters: snapshot DS.Snapshot json Object key String attribute Object

AriaRoleSupport#sendAction()

sendAction (action, params) public Defined in packages/ember-views/lib/mixins/action_support.js:23 Calls an action passed to a component. For example a component for playing or pausing music may translate click events into action notifications of "play" or "stop" depending on some internal state of the component: // app/components/play-button.js export default Ember.Component.extend({ click() { if (this.get('isPlaying')) { this.sendAction('play'); } else { this.sendAct

Test#injectTestHelpers()

injectTestHelperspublic Defined in packages/ember-testing/lib/ext/application.js:96 This injects the test helpers into the helperContainer object. If an object is provided it will be used as the helperContainer. If helperContainer is not set it will default to window. If a function of the same name has already been defined it will be cached (so that it can be reset if the helper is removed with unregisterHelper or removeTestHelpers). Any callbacks registered with onInjectHelpers will be cal

EventDispatcher

Ember.EventDispatcher Class PRIVATE Extends: Ember.Object Defined in: packages/ember-views/lib/system/event_dispatcher.js:22 Module: ember-views Ember.EventDispatcher handles delegating browser events to their corresponding Ember.Views. For example, when you click on a view, Ember.EventDispatcher ensures that that view's mouseDown method gets called.