RegistryProxyMixin#registeredOptions()

registeredOptions (fullName) Objectpublic Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:152 Return registered options for a particular factory. Parameters: fullName String Returns: Object options

DS.RESTAdapter#host

host{String} Defined in addon/adapters/rest.js:367 An adapter can target other hosts by setting the host property. app/adapters/application.js import DS from 'ember-data'; export default DS.RESTAdapter.extend({ host: 'https://api.example.com' }); Requests for the Post model would now target https://api.example.com/post/.

DataAdapter#acceptsModelName

acceptsModelNamepublic Defined in packages/ember-extension-support/lib/data_adapter.js:91 Ember Data > v1.0.0-beta.18 requires string model names to be passed around instead of the actual factories. This is a stamp for the Ember Inspector to differentiate between the versions to be able to support older versions too.

Engine

Ember.Engine Class PUBLIC Extends: Ember.Namespace Uses: RegistryProxy Defined in: packages/ember-application/lib/system/engine.js:37 Module: ember-application The Engine class contains core functionality for both applications and engines. Each engine manages a registry that's used for dependency injection and exposed through RegistryProxy. Engines also manage initializers and instance initializers. Engines can spawn EngineInstance instances via buildInstance().

Ember.streams.Dependency.classStringForValue()

classStringForValue (path, val, className, falsyClassName) privatestatic Defined in packages/ember-htmlbars/lib/streams/class_name_binding.js:53 Get the class name for a given value, based on the path, optional className and optional falsyClassName. if a className or falsyClassName has been specified: if the value is truthy and className has been specified, className is returned if the value is falsy and falsyClassName has been specified, falsyClassName is returned otherwise null is returne

DS.JSONAPISerializer#keyForAttribute()

keyForAttribute (key, method) String Inherited from DS.JSONSerializer but overwritten in addon/serializers/json-api.js:397 keyForAttribute can be used to define rules for how to convert an attribute name in your model to a key in your JSON. By default JSONAPISerializer follows the format used on the examples of http://jsonapi.org/format and uses dashes as the word separator in the JSON attribute keys. This behaviour can be easily customized by extending this method. Example app/serializers/

DS.Store#buildRecord()

buildRecord (type, id, data) InternalModelprivate Defined in addon/-private/system/store.js:2299 Build a brand new record for a given type, ID, and initial data. Parameters: type DS.Model id String data Object Returns: InternalModel internal model

Redirecting

Redirecting Sometimes you want to redirect a user to a different page than what they requested for. For example, if they're not logged in, you might want to prevent them from editing their profile, accessing private information, or checking out items in their shopping cart. Usually you want to redirect them to the login page, and after they have successfully logged in, take them back to the page they originally wanted to access. There are many other reasons you probably want to have the last

Array#includes()

includes (obj, startAt) Booleanpublic Inherited from Ember.Enumerable but overwritten in packages/ember-runtime/lib/mixins/array.js:593 Returns true if the passed object can be found in the array. This method is a Polyfill for ES 2016 Array.includes. If no startAt argument is given, the starting location to search is 0. If it's negative, searches from the index of this.length + startAt by asc. [1, 2, 3].includes(2); // true [1, 2, 3].includes(4); // false [1, 2, 3].includes(3, 2);

CoreView#getViewClientRects()

getViewClientRects (view) private Defined in packages/ember-views/lib/system/utils.js:31 getViewClientRects provides information about the position of the border box edges of a view relative to the viewport. It is only intended to be used by development tools like the Ember Inspector and may not work on older browsers. Parameters: view Ember.View