RSVP.allSettled()

allSettled (entries, label) Promisestatic Defined in bower_components/rsvp/lib/rsvp/all-settled.js:19 RSVP.allSettled is similar to RSVP.all, but instead of implementing a fail-fast method, it waits until all the promises have returned and shows you all the results. This is useful if you want to handle multiple promises' failure states together as a set. Returns a promise that is fulfilled when all the given promises have been settled. The return promise is fulfilled with an array of the st

Ember.bind()

bind (obj, to, from) Ember.Bindingpublic Defined in packages/ember-metal/lib/binding.js:486 Global helper method to create a new binding. Just pass the root object along with a to and from path to create and connect the binding. Parameters: obj Object The root object of the transform. to String The path to the 'to' side of the binding. Must be relative to obj. from String The path to the 'from' side of the binding. Must be relative to obj or a global path. Returns: Ember.Bi

Test#currentRouteName()

currentRouteNameObjectpublic Defined in packages/ember-testing/lib/helpers/current_route_name.js:6 Available since 1.5.0 Returns the currently active route name. Example: javascript function validateRouteName() { equal(currentRouteName(), 'some.path', "correct route was transitioned into."); } visit('/some/path').then(validateRouteName) Returns: Object The name of the currently active route.

Route#activate()

activatepublic Defined in packages/ember-routing/lib/system/route.js:877 This hook is executed when the router enters the route. It is not executed when the model for the route changes.

ember-routing

ember-routing Module Parent: ember Ember.Location returns an instance of the correct implementation of the location API. Implementations You can pass an implementation name (hash, history, none) to force a particular implementation to be used in your application. HashLocation Using HashLocation results in URLs with a # (hash sign) separating the server side URL portion of the URL from the portion that is used by Ember. This relies upon the hashchange event existing in the browser. Example: App.

Map#has()

has (key) Booleanprivate Defined in packages/ember-metal/lib/map.js:347 Check whether a key is present. Parameters: key * Returns: Boolean true if the item was present, false otherwise

DS.Errors#_registerHandlers()

_registerHandlersprivate Defined in addon/-private/system/model/errors.js:111 Register with target handler

Building a Complex Component

Building a Complex Component As they search for a rental, users might also want to narrow their search to a specific city. Let's build a component that will let them filter rentals by city. To begin, let's generate our new component. We'll call this component list-filter, since all we want our component to do is filter the list of rentals based on input. ember g component list-filter As before, this creates a Handlebars template (app/templates/components/list-filter.hbs), a JavaScript file (

Mixin.create()

create (arguments) publicstatic Defined in packages/ember-metal/lib/mixin.js:503 Parameters: arguments

ClassNamesSupport

Ember.ClassNamesSupport Class PRIVATE Defined in: packages/ember-views/lib/mixins/class_names_support.js:11 Module: ember-views