Ember.inject

Ember.inject Namespace PUBLIC Defined in: packages/ember-runtime/lib/inject.js:4 Module: ember-runtime Namespace for injection helper methods.

Route#serializeQueryParam()

serializeQueryParam (value, urlKey, defaultValueType) private Defined in packages/ember-routing/lib/system/route.js:390 Serializes value of the query parameter based on defaultValueType Parameters: value Object urlKey String defaultValueType String

Enumerable#hasEnumerableObservers

hasEnumerableObserversBooleanprivate Defined in packages/ember-runtime/lib/mixins/enumerable.js:926 Becomes true whenever the array currently has observers watching changes on the array.

DefaultResolver#translateToContainerFullname()

translateToContainerFullname (type, name) private Defined in packages/ember-application/lib/system/resolver.js:450 Converts provided name from the backing namespace into a container lookup name. Examples: App.FooBarHelper -> helper:foo-bar App.THelper -> helper:t Parameters: type String name String

Classes and Instances

Classes and Instances As you learn about Ember, you'll see code like Ember.Component.extend() and DS.Model.extend(). Here, you'll learn about this extend() method, as well as other major features of the Ember object model. Defining Classes To define a new Ember class, call the extend() method on Ember.Object: const Person = Ember.Object.extend({ say(thing) { alert(thing); } }); This defines a new Person class with a say() method. You can also create a subclass from any existing class

Component#willUpdate()

willUpdatepublic Defined in packages/ember-htmlbars/lib/component.js:432 Available since 1.13.0 Called when the component is about to update and rerender itself. Called only during a rerender, not during an initial render.

Test#testHelpers

testHelpers{Object}public Defined in packages/ember-testing/lib/ext/application.js:16 This property contains the testing helpers for the current application. These are created once you call injectTestHelpers on your Ember.Application instance. The included helpers are also available on the window object by default, but can be used from this object on the individual application also. Default: {}

DefaultResolver#resolveController()

resolveController (parsedName) protected Defined in packages/ember-application/lib/system/resolver.js:328 Lookup the controller using resolveOther Parameters: parsedName Object a parseName object with the parsed fullName lookup string

DS.RESTSerializer#serializePolymorphicType()

serializePolymorphicType (snapshot, json, relationship) Inherited from DS.JSONSerializer but overwritten in addon/serializers/rest.js:742 You can use this method to customize how polymorphic objects are serialized. By default the REST Serializer creates the key by appending Type to the attribute and value from the model's camelcased model name. Parameters: snapshot DS.Snapshot json Object relationship Object

Copyable#willMergeMixin()

willMergeMixinprivate Defined in packages/ember-runtime/lib/mixins/controller_content_model_alias_deprecation.js:19 Available since 1.4.0