DS.JSONSerializer#transformFor()

transformFor (attributeType, skipAssertion) DS.Transformprivate Defined in addon/serializers/json.js:1500 Parameters: attributeType String skipAssertion Boolean Returns: DS.Transform transform

Route#controller

controllerEmber.Controllerpublic Defined in packages/ember-routing/lib/system/route.js:729 Available since 1.6.0 The controller associated with this route. Example App.FormRoute = Ember.Route.extend({ actions: { willTransition: function(transition) { if (this.controller.get('userHasEnteredData') && !confirm('Are you sure you want to abandon progress?')) { transition.abort(); } else { // Bubble the `willTransition` action so that //

TextField#min

minStringpublic Defined in packages/ember-htmlbars/lib/components/text_field.js:144 Available since 1.4.0 The min attribute of input element used with type="number" or type="range". Default: null

DS.JSONSerializer#normalizeUpdateRecordResponse()

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

DS.JSONAPISerializer#modelNameFromPayloadType()

modelNameFromPayloadType (payloadType) Stringpublic Inherited from DS.JSONSerializer but overwritten in addon/serializers/json-api.js:630 modelNameFromPayloadType can be used to change the mapping for a DS model name, taken from the value in the payload. Say your API namespaces the type of a model and returns the following payload for the post model: // GET /api/posts/1 { "data": { "id": 1, "type: "api::v1::post" } } By overwriting modelNameFromPayloadType you can specify that

DS.RESTAdapter#queryRecord()

queryRecord (store, type, query) Promise Inherited from DS.Adapter but overwritten in addon/adapters/rest.js:511 Available since 1.13.0 Called by the store in order to fetch a JSON object for the record that matches a particular query. The queryRecord method makes an Ajax (HTTP GET) request to a URL computed by buildURL, and returns a promise for the resulting payload. The query argument is a simple JavaScript object that will be passed directly to the server as parameters. Parameters: s

DS.Store#recordForId()

recordForId (modelName, id) DS.Modelprivate Defined in addon/-private/system/store.js:983 Returns id record for a given type and ID. If one isn't already loaded, it builds a new record and leaves it in the empty state. Parameters: modelName String id (String|Integer) Returns: DS.Model record

Route#routeName

routeNameStringpublic Defined in packages/ember-routing/lib/system/route.js:131 The name of the route, dot-delimited. For example, a route found at app/routes/posts/post.js or app/posts/post/route.js (with pods) will have a routeName of posts.post.

DS.Model.modelName

modelNameStringstatic Defined in addon/-private/system/model/model.js:985 Represents the model's class name as a string. This can be used to look up the model through DS.Store's modelFor method. modelName is generated for you by Ember Data. It will be a lowercased, dasherized string. For example: store.modelFor('post').modelName; // 'post' store.modelFor('blog-post').modelName; // 'blog-post' The most common place you'll want to access modelName is in your serializer's payloadKeyFromModelN

Router#hasRoute()

hasRouteBooleanprivate Defined in packages/ember-routing/lib/system/router.js:433 Does this router instance have the given route. Returns: Boolean