MutableEnumerable#addObjects()

addObjects (objects) Objectpublic Defined in packages/ember-runtime/lib/mixins/mutable_enumerable.js:69 Adds each object in the passed enumerable to the receiver. Parameters: objects Ember.Enumerable the objects to add. Returns: Object receiver

TextSupport#cancel()

cancel (event) private Defined in packages/ember-views/lib/mixins/text_support.js:225 Allows you to specify a controller action to invoke when the escape button is pressed. To use this method, give your field an escape-press attribute. The value of that attribute should be the name of the action in your controller that you wish to invoke. For an example on how to use the escape-press attribute, please reference the example near the top of this file. Parameters: event Event

Route#controllerFor()

controllerFor (name) Ember.Controllerpublic Defined in packages/ember-routing/lib/system/route.js:1672 Returns the controller for a particular route or name. The controller instance must already have been created, either through entering the associated route or using generateController. App.PostRoute = Ember.Route.extend({ setupController: function(controller, post) { this._super(controller, post); this.controllerFor('posts').set('currentPost', post); } }); Parameters: name

Map#forEach()

forEach (callback, self) private Defined in packages/ember-metal/lib/map.js:359 Iterate over all the keys and values. Calls the function once for each key, passing in value, key, and the map being iterated over, in that order. The keys are guaranteed to be iterated over in insertion order. Parameters: callback Function self * if passed, the `this` value inside the callback. By default, `this` is the map.

DS.Adapter#shouldReloadRecord()

shouldReloadRecord (store, snapshot) Boolean Defined in addon/adapter.js:479 Available since 1.13.0 This method is used by the store to determine if the store should reload a record from the adapter when a record is requested by store.findRecord. If this method returns true, the store will re-fetch a record from the adapter. If this method returns false, the store will resolve immediately using the cached record. For example, if you are building an events ticketing system, in which users ca

Function#observes()

observespublic Defined in packages/ember-runtime/lib/ext/function.js:81 The observes extension of Javascript's Function prototype is available when EmberENV.EXTEND_PROTOTYPES or EmberENV.EXTEND_PROTOTYPES.Function is true, which is the default. You can observe property changes simply by adding the observes call to the end of your method declarations in classes that you write. For example: Ember.Object.extend({ valueObserver: function() { // Executes whenever the "value" property chang

Templates.helpers.each-in()

each-inpublic Defined in packages/ember-htmlbars/lib/helpers/each-in.js:8 Available since 2.1.0 The {{each-in}} helper loops over properties on an object. It is unbound, in that new (or removed) properties added to the target object will not be rendered. For example, given a user object that looks like: { "name": "Shelly Sails", "age": 42 } This template would display all properties on the user object in a list: <ul> {{#each-in user as |key value|}} <li>{{key}}: {{value}}

RSVP.denodeify()

denodeify (nodeFunc, options) Functionstatic Defined in bower_components/rsvp/lib/rsvp/node.js:73 RSVP.denodeify takes a 'node-style' function and returns a function that will return an RSVP.Promise. You can use denodeify in Node.js or the browser when you'd prefer to use promises over using callbacks. For example, denodeify transforms the following: var fs = require('fs'); fs.readFile('myfile.txt', function(err, data){ if (err) return handleError(err); handleData(data); }); into: var

ClassNamesSupport#childViews

childViewsArrayprivate Defined in packages/ember-views/lib/mixins/child_views_support.js:12 Array of child views. You should never edit this array directly. Default: []

Route#controllerName

controllerNameStringpublic Defined in packages/ember-routing/lib/system/route.js:525 Available since 1.4.0 The name of the controller to associate with this route. By default, Ember will lookup a route's controller that matches the name of the route (i.e. App.PostController for App.PostRoute). However, if you would like to define a specific controller to use, you can do so using this property. This is useful in many ways, as the controller specified will be: passed to the setupController me