Enumerable#getEach()

getEach (key) Arraypublic Defined in packages/ember-runtime/lib/mixins/enumerable.js:300 Alias for mapBy Parameters: key String name of the property Returns: Array The mapped array.

Enumerable#rejectBy()

rejectBy (key, value) Arraypublic Defined in packages/ember-runtime/lib/mixins/enumerable.js:463 Returns an array with the items that do not have truthy values for key. You can pass an optional second argument with the target value. Otherwise this will match any property that evaluates to false. Parameters: key String the property to test value [String] optional value to test against. Returns: Array rejected array

Ember

Ember Namespace PUBLIC Defined in: packages/ember-metal/lib/core.js:8 Module: ember-metal This namespace contains all Ember methods and functions. Future versions of Ember may overwrite this namespace and therefore, you should avoid adding any new properties. At the heart of Ember is Ember-Runtime, a set of core functions that provide cross-platform compatibility and object property observing. Ember-Runtime is small and performance-focused so you can use it alongside other cross-platform l

Ember.observer()

observer (propertyNames, func) public Defined in packages/ember-metal/lib/mixin.js:703 Specify a method that observes property changes. Ember.Object.extend({ valueObserver: Ember.observer('value', function() { // Executes whenever the "value" property changes }) }); Also available as Function.prototype.observes if prototype extensions are enabled. Parameters: propertyNames String func Function Returns: func

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.

ArrayProxy#content

contentEmber.Arrayprivate Defined in packages/ember-runtime/lib/system/array_proxy.js:78 The content array. Must be an object that implements Ember.Array and/or Ember.MutableArray.

MutableArray#pushObject()

pushObject (obj) public Defined in packages/ember-runtime/lib/mixins/mutable_array.js:164 Push the object onto the end of the array. Works just like push() but it is KVO-compliant. let colors = ['red', 'green']; colors.pushObject('black'); // ['red', 'green', 'black'] colors.pushObject(['yellow']); // ['red', 'green', ['yellow']] Parameters: obj * object to push Returns: object same object passed as a param

Ember.endPropertyChanges()

endPropertyChangesprivate Defined in packages/ember-metal/lib/property_events.js:214