Templates.helpers.mut()

mut (attr) public Defined in packages/ember-htmlbars/lib/keywords/mut.js:47 The mut helper lets you clearly specify that a child Component can update the (mutable) value passed to it, which will change the value of the parent component. This is very helpful for passing mutable values to a Component of any size, but critical to understanding the logic of a large/complex Component. To specify that a parameter is mutable, when invoking the child Component: {{my-child childClickCount=(mut total

Container

Container Class PRIVATE Defined in: packages/container/lib/container.js:10 Module: ember A container used to instantiate and cache objects. Every Container must be associated with a Registry, which is referenced to determine the factory and options that should be used to instantiate objects. The public API for Container is still in flux and should not be considered stable.

Ember.isNone()

isNone (obj) Booleanpublic Defined in packages/ember-metal/lib/is_none.js:1 Returns true if the passed value is null or undefined. This avoids errors from JSLint complaining about use of ==, which can be technically confusing. Ember.isNone(); // true Ember.isNone(null); // true Ember.isNone(undefined); // true Ember.isNone(''); // false Ember.isNone([]); // false Ember.isNone(function() {}); // false Parameters: obj Object Value to test

The View Tree

The View Tree You can use the View Tree to inspect your application's current state. The View Tree shows you the currently rendered templates, models, controllers, and components, in a tree format. Click on the View Tree menu on the left to see these. Use the tips described in Object Inspector to inspect models and controllers. See below for templates and components. Inspecting Templates To see how a template was rendered by Ember, click on the template in the View Tree. If you're using Chro

Ember.computed.or()

or (dependentKey) Ember.ComputedPropertypublic Defined in packages/ember-runtime/lib/computed/computed_macros.js:464 A computed property which performs a logical or on the original values for the provided dependent properties. You may pass in more than two properties and even use property brace expansion. The computed property will return the first truthy value or last falsy value just like JavaScript's || operator. Example let Hamster = Ember.Object.extend({ readyForRain: Ember.computed.

Test.checkWaiters()

checkWaiterspublicstatic Defined in packages/ember-testing/lib/test/waiters.js:74 Iterates through each registered test waiter, and invokes its callback. If any waiter returns false, this method will return true indicating that the waiters have not settled yet. This is generally used internally from the acceptance/integration test infrastructure.

DS.RESTAdapter#namespace

namespace{String} Defined in addon/adapters/rest.js:349 Endpoint paths can be prefixed with a namespace by setting the namespace property on the adapter: app/adapters/application.js import DS from 'ember-data'; export default DS.RESTAdapter.extend({ namespace: 'api/1' }); Requests for the Post model would now target /api/1/post/.

DefaultResolver#lookupDescription()

lookupDescription (fullName) protected Defined in packages/ember-application/lib/system/resolver.js:255 Returns a human-readable description for a fullName. Used by the Application namespace in assertions to describe the precise name of the class that Ember is looking for, rather than container keys. Parameters: fullName String the lookup string

Observable#decrementProperty()

decrementProperty (keyName, decrement) Numberpublic Defined in packages/ember-runtime/lib/mixins/observable.js:453 Set the value of a property to the current value minus some amount. player.decrementProperty('lives'); orc.decrementProperty('health', 5); Parameters: keyName String The name of the property to decrement decrement Number The amount to decrement by. Defaults to 1 Returns: Number The new property value

LinkComponent#eventName

eventNameStringprivate Defined in packages/ember-htmlbars/lib/components/link-to.js:469 By default the {{link-to}} component responds to the click event. You can override this globally by setting this property to your custom event name. This is particularly useful on mobile when one wants to avoid the 300ms click delay using some sort of custom tap event. Default: click