DS.JSONAPISerializer#serializeAttribute()

serializeAttribute (snapshot, json, key, attribute) Inherited from DS.JSONSerializer but overwritten in addon/serializers/json-api.js:487 Parameters: snapshot DS.Snapshot json Object key String attribute Object

DS.JSONSerializer#serializeHasMany()

serializeHasMany (snapshot, json, relationship) Defined in addon/serializers/json.js:1206 serializeHasMany can be used to customize how DS.hasMany properties are serialized. Example app/serializers/post.js import DS from 'ember-data'; export default DS.JSONSerializer.extend({ serializeHasMany: function(snapshot, json, relationship) { var key = relationship.key; if (key === 'comments') { return; } else { this._super.apply(this, arguments); } } }); Paramet

Router#transitionTo()

transitionTo (name, models, options) Transitionpublic Defined in packages/ember-routing/lib/system/router.js:346 Transition the application into another route. The route may be either a single route or route path: See Route.transitionTo for more info. Parameters: name String the name of the route or a URL models ...Object the model(s) or identifier(s) to be used while transitioning to the route. options [Object] optional hash with a queryParams property containing a mapping of

LinkComponent#attributeBindings

attributeBindingsArray | Stringpublic Defined in packages/ember-htmlbars/lib/components/link-to.js:446 By default the {{link-to}} component will bind to the href and title attributes. It's discouraged that you override these defaults, however you can push onto the array if needed. Default: ['title', 'rel', 'tabindex', 'target']

Ember.computed.alias()

alias (dependentKey) Ember.ComputedPropertypublic Defined in packages/ember-runtime/lib/computed/computed_macros.js:503 Creates a new property that is an alias for another property on an object. Calls to get or set this property behave as though they were called on the original property. let Person = Ember.Object.extend({ name: 'Alex Matchneer', nomen: Ember.computed.alias('name') }); let alex = Person.create(); alex.get('nomen'); // 'Alex Matchneer' alex.get('name'); // 'Alex Matchn

Observable#cacheFor()

cacheFor (keyName) Objectpublic Defined in packages/ember-runtime/lib/mixins/observable.js:490 Returns the cached value of a computed property, if it exists. This allows you to inspect the value of a computed property without accidentally invoking it if it is intended to be generated lazily. Parameters: keyName String Returns: Object The cached value of the computed property, if any

CoreObject#isDestroyed

isDestroyedpublic Defined in packages/ember-runtime/lib/system/core_object.js:393 Destroyed object property flag. if this property is true the observers and bindings were already removed by the effect of calling the destroy() method. Default: false

Ember.propertyWillChange()

propertyWillChange (obj, keyName) Voidprivate Defined in packages/ember-metal/lib/property_events.js:27 This function is called just before an object property is about to change. It will notify any before observers and prepare caches among other things. Normally you will not need to call this method directly but if for some reason you can't directly watch a property you can invoke this method manually along with Ember.propertyDidChange() which you should call just after the property value c

Ember.wrap()

wrap (func, superFunc) Functionprivate Defined in packages/ember-metal/lib/utils.js:276 Wraps the passed function so that this._super will point to the superFunc when the function is invoked. This is the primitive we use to implement calls to super. Parameters: func Function The function to call superFunc Function The super function. Returns: Function wrapped function.

Engine#ensureInitializers()

ensureInitializersprivate Defined in packages/ember-application/lib/system/engine.js:74 Ensure that initializers are run once, and only once, per engine.