Ember.validatePropertyInjections()

validatePropertyInjections (factory) private Defined in packages/ember-runtime/lib/inject.js:39 Available since 1.10.0 Validation function that runs per-type validation functions once for each injected type encountered. Parameters: factory Object The factory object

TextSupport#action

actionStringprivate Defined in packages/ember-views/lib/mixins/text_support.js:143 The action to be sent when the user presses the return key. This is similar to the {{action}} helper, but is fired when the user presses the return key when editing a text field, and sends the value of the field as the context. Default: null

ApplicationInstance.BootOptions#isBrowser

isBrowserbooleanpublic Defined in packages/ember-application/lib/system/application-instance.js:340 Run in a full browser environment. When this flag is set to false, it will disable most browser-specific and interactive features. Specifically: It does not use jQuery to append the root view; the rootElement (either specified as a subsequent option or on the application itself) must already be an Element in the given document (as opposed to a string selector). It does not set up an EventDisp

DS.JSONSerializer#serializeAttribute()

serializeAttribute (snapshot, json, key, attribute) Defined in addon/serializers/json.js:1106 serializeAttribute can be used to customize how DS.attr properties are serialized For example if you wanted to ensure all your attributes were always serialized as properties on an attributes object you could write: app/serializers/application.js import DS from 'ember-data'; export default DS.JSONSerializer.extend({ serializeAttribute: function(snapshot, json, key, attributes) { json.attrib

DS.BuildURLMixin#urlForFindHasMany()

urlForFindHasMany (id, modelName, snapshot) String Defined in addon/-private/adapters/build-url-mixin.js:244 Builds a URL for fetching a async hasMany relationship when a url is not provided by the server. Example: app/adapters/application.js import DS from 'ember-data'; export default DS.JSONAPIAdapter.extend({ urlForFindHasMany(id, modelName, snapshot) { let baseUrl = this.buildURL(id, modelName); return `${baseUrl}/relationships`; } }); Parameters: id String modelName

DS.JSONSerializer#primaryKey

primaryKey{String} Defined in addon/serializers/json.js:87 The primaryKey is used when serializing and deserializing data. Ember Data always uses the id property to store the id of the record. The external source may not always follow this convention. In these cases it is useful to override the primaryKey property to match the primaryKey of your external store. Example app/serializers/application.js import DS from 'ember-data'; export default DS.JSONSerializer.extend({ primaryKey: '_id'

Enumerable#filterBy()

filterBy (key, value) Arraypublic Defined in packages/ember-runtime/lib/mixins/enumerable.js:448 Returns an array with just the items with the matched property. You can pass an optional second argument with the target value. Otherwise this will match any property that evaluates to true. Parameters: key String the property to test value [*] optional value to test against. Returns: Array filtered array

DS.Store#recordWasInvalid()

recordWasInvalid (internalModel, errors) private Defined in addon/-private/system/store.js:1771 This method is called once the promise returned by an adapter's createRecord, updateRecord or deleteRecord is rejected with a DS.InvalidError. Parameters: internalModel InternalModel errors Object

Route#disconnectOutlet()

disconnectOutlet (options) public Defined in packages/ember-routing/lib/system/route.js:1957 Disconnects a view that has been rendered into an outlet. You may pass any or all of the following options to disconnectOutlet: outlet: the name of the outlet to clear (default: 'main') parentView: the name of the view containing the outlet to clear (default: the view rendered by the parent route) Example: App.ApplicationRoute = App.Route.extend({ actions: { showModal: function(evt) {

DS.DateTransform

DS.DateTransform Class Extends: DS.Transform Defined in: addon/-private/transforms/date.js:3 Module: ember-data The DS.DateTransform class is used to serialize and deserialize date attributes on Ember Data record objects. This transform is used when date is passed as the type parameter to the DS.attr function. It uses the ISO 8601 standard. app/models/score.js import DS from 'ember-data'; export default DS.Model.extend({ value: DS.attr('number'), player: DS.belongsTo('player'), date