Transition#then()

then (onFulfilled, onRejected, label) Promisepublic Defined in bower_components/router.js/lib/router/transition.js:135 A standard promise hook that resolves if the transition succeeds and rejects if it fails/redirects/aborts. Forwards to the internal promise property which you can use in situations where you want to pass around a thennable, but not the Transition itself. Parameters: onFulfilled Function onRejected Function label String optional string for labeling the promise. Us

CoreObject#reopenClass()

reopenClasspublic Defined in packages/ember-runtime/lib/system/core_object.js:717 Augments a constructor's own properties and functions: MyObject = Ember.Object.extend({ name: 'an object' }); MyObject.reopenClass({ canBuild: false }); MyObject.canBuild; // false o = MyObject.create(); In other words, this creates static properties and functions for the class. These are only available on the class and not on any instance of that class. App.Person = Ember.Object.extend({ name : "",

EngineInstance#buildChildEngineInstance()

buildChildEngineInstance (name, options) Ember.EngineInstance,Errorprivate Defined in packages/ember-application/lib/system/engine-instance.js:168 Build a new Ember.EngineInstance that's a child of this instance. Engines must be registered by name with their parent engine (or application). Parameters: name String the registered name of the engine. options Object options provided to the engine instance. Returns: Ember.EngineInstance,Error

DS.JSONSerializer#serializePolymorphicType()

serializePolymorphicType (snapshot, json, relationship) Defined in addon/serializers/json.js:1255 You can use this method to customize how polymorphic objects are serialized. Objects are considered to be polymorphic if { polymorphic: true } is pass as the second argument to the DS.belongsTo function. Example app/serializers/comment.js import DS from 'ember-data'; export default DS.JSONSerializer.extend({ serializePolymorphicType: function(snapshot, json, relationship) { var key = re

DS.JSONAPIAdapter#updateRecord()

updateRecord (store, type, snapshot) Promise Inherited from DS.RESTAdapter but overwritten in addon/adapters/json-api.js:140 Parameters: store DS.Store type DS.Model snapshot DS.Snapshot Returns: Promise promise

TextField

Ember.TextField Class PUBLIC Extends: Ember.Component Uses: Ember.TextSupport Defined in: packages/ember-htmlbars/lib/components/text_field.js:37 Module: ember-views The internal class used to create text inputs when the {{input}} helper is used with type of text. See Ember.Templates.helpers.input for usage details. Layout and LayoutName properties Because HTML input elements are self closing layout and layoutName properties will not be applied. See Ember.View's layout section for more inf

EventDispatcher#registeredActions

registeredActionsObjectprivate Defined in packages/ember-views/lib/system/action_manager.js:8 Global action id hash.

TextSupport#onEvent

onEventStringprivate Defined in packages/ember-views/lib/mixins/text_support.js:157 The event that should send the action. Options are: enter: the user pressed enter keyPress: the user pressed a key Default: enter

Enumerable#findBy()

findBy (key, value) Objectpublic Defined in packages/ember-runtime/lib/mixins/enumerable.js:539 Returns the first item with a property matching the passed value. You can pass an optional second argument with the target value. Otherwise this will match any property that evaluates to true. This method works much like the more generic find() method. Parameters: key String the property to test value [String] optional value to test against. Returns: Object found item or `undefined

Helper.helper()

helper (helper) publicstatic Defined in packages/ember-htmlbars/lib/helper.js:109 Available since 1.13.0 In many cases, the ceremony of a full Ember.Helper class is not required. The helper method creates pure-function helpers without instances. For example: // app/helpers/format-currency.js export function formatCurrency([cents], hash) { let currency = hash.currency; return `${currency}${cents * 0.01}`; }); export default Ember.Helper.helper(formatCurrency); // tests/myhelper.js impo