Test#currentURL()

currentURLObjectpublic Defined in packages/ember-testing/lib/helpers.js:187 Available since 1.5.0 Returns the current URL. Example: function validateURL() { equal(currentURL(), '/some/path', "correct URL was transitioned into."); } click('#some-link-id').then(validateURL); Returns: Object The currently active URL.

Router#location

locationpublic Defined in packages/ember-routing/lib/system/router.js:52 The location property determines the type of URL's that your application will use. The following location types are currently available: history - use the browser's history API to make the URLs look just like any standard URL hash - use # to separate the server part of the URL from the Ember part: /blog/#/posts/new none - do not store the Ember URL in the actual browser URL (mainly used for testing) auto - use the

Templates.helpers.partial()

partial (partialName) public Defined in packages/ember-htmlbars/lib/keywords/partial.js:9 The partial helper renders another template without changing the template context: {{foo}} {{partial "nav"}} The above example template will render a template named "-nav", which has the same context as the parent template it's rendered into, so if the "-nav" template also referenced {{foo}}, it would print the same thing as the {{foo}} in the above example. If a "-nav" template isn't found, the parti

Registry#_normalizeCache

_normalizeCacheInheritingDictprivate Defined in packages/container/lib/registry.js:107

RSVP.map()

map (promises, mapFn, label) Promisestatic Defined in bower_components/rsvp/lib/rsvp/map.js:6 RSVP.map is similar to JavaScript's native map method, except that it waits for all promises to become fulfilled before running the mapFn on each item in given to promises. RSVP.map returns a promise that will become fulfilled with the result of running mapFn on the values the promises become fulfilled with. For example: var promise1 = RSVP.resolve(1); var promise2 = RSVP.resolve(2); var promis

Container#lookupFactory()

lookupFactory (fullName, options) Anyprivate Defined in packages/container/lib/container.js:121 Given a fullName, return the corresponding factory. Parameters: fullName String options [Object] source [String] The fullname of the request source (used for local lookup) Returns: Any

DS.RecordArrayManager#updateRecordArrays()

updateRecordArrays Defined in addon/-private/system/record-array-manager.js:93 This method is invoked whenever data is loaded into the store by the adapter or updated by the adapter, or when a record has changed. It updates all record arrays that a record belongs to. To avoid thrashing, it only runs at most once per run loop.

Built-in Helpers

Built-in Helpers Built-in Helpers In the last section you learned how to write a helper. A helper is usually a simple function that can be used in any template. Ember comes with a few helpers that can make developing your templates a bit easier. These helpers can allow you to be more dynamic in passing data to another helper or component. Using a helper to get a property dynamically The {{get}} helper makes it easy to dynamically send the value of a variable to another helper or component. Th

Test#registerWaiter()

registerWaiter (context, callback) public Defined in packages/ember-testing/lib/test/waiters.js:7 Available since 1.2.0 This allows ember-testing to play nicely with other asynchronous events, such as an application that is waiting for a CSS3 transition or an IndexDB transaction. For example: Ember.Test.registerWaiter(function() { return myPendingTransactions() == 0; }); The context argument allows you to optionally specify the this with which your callback will be invoked. For example:

VisibilitySupport#isVisible

isVisibleBooleanpublic Defined in packages/ember-views/lib/mixins/visibility_support.js:20 If false, the view will appear hidden in DOM. Default: null