EventDispatcher#canDispatchToEventManager

canDispatchToEventManagerbooleanprivate Defined in packages/ember-views/lib/system/event_dispatcher.js:110 Available since 1.7.0 It enables events to be dispatched to the view's eventManager. When present, this object takes precedence over handling of events on the view itself. Note that most Ember applications do not use this feature. If your app also does not use it, consider setting this property to false to gain some performance improvement by allowing the EventDispatcher to skip the se

ApplicationInstance.BootOptions#jQuery

jQueryObjectprivate Defined in packages/ember-application/lib/system/application-instance.js:315 Provide a specific instance of jQuery. This is useful in conjunction with the document option, as it allows you to use a copy of jQuery that is appropriately bound to the foreign document (e.g. a jsdom). This is highly experimental and support very incomplete at the moment. Default: auto-detected

Route#serializeQueryParamKey()

serializeQueryParamKey (controllerPropertyName) private Defined in packages/ember-routing/lib/system/route.js:379 Serializes the query parameter key Parameters: controllerPropertyName String

DS.RESTAdapter#namespace

namespace{String} Defined in addon/adapters/rest.js:349 Endpoint paths can be prefixed with a namespace by setting the namespace property on the adapter: app/adapters/application.js import DS from 'ember-data'; export default DS.RESTAdapter.extend({ namespace: 'api/1' }); Requests for the Post model would now target /api/1/post/.

Ember.STRINGS

STRINGSObjectprivate Defined in packages/ember-runtime/lib/index.js:212 Defines the hash of localized strings for the current language. Used by the Ember.String.loc() helper. To localize, add string values to this hash.

Ember.computed.lt()

lt (dependentKey, value) Ember.ComputedPropertypublic Defined in packages/ember-runtime/lib/computed/computed_macros.js:355 A computed property that returns true if the provided dependent property is less than the provided value. Example let Hamster = Ember.Object.extend({ needsMoreBananas: Ember.computed.lt('numBananas', 3) }); let hamster = Hamster.create(); hamster.get('needsMoreBananas'); // true hamster.set('numBananas', 3); hamster.get('needsMoreBananas'); // false hamster.set('nu

DS.JSONAPISerializer#modelNameFromPayloadKey()

modelNameFromPayloadKey (key) String Inherited from DS.JSONSerializer but overwritten in addon/serializers/json-api.js:350 Parameters: key String Returns: String the model's modelName

DS.Store#serializerFor()

serializerFor (modelName) DS.Serializerpublic Defined in addon/-private/system/store.js:2402 Returns an instance of the serializer for a given type. For example, serializerFor('person') will return an instance of App.PersonSerializer. If no App.PersonSerializer is found, this method will look for an App.ApplicationSerializer (the default serializer for your entire application). if no App.ApplicationSerializer is found, it will attempt to get the defaultSerializer from the PersonAdapter (ada

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.Serializer#normalizeResponse()

normalizeResponse (store, primaryModelClass, payload, id, requestType) Object Defined in addon/serializer.js:40 Available since 1.13.0 The normalizeResponse method is used to normalize a payload from the server to a JSON-API Document. http://jsonapi.org/format/#document-structure Parameters: store DS.Store primaryModelClass DS.Model payload Object id String|Number requestType String Returns: Object JSON-API Document