AutoLocation#userAgent

userAgentprivate Defined in packages/ember-routing/lib/location/auto_location.js:75 Available since 1.5.1 Default: environment.history

Asynchronous Routing

Asynchronous Routing This section covers some more advanced features of the router and its capability for handling complex async logic within your app. A Word on Promises... Ember's approach to handling asynchronous logic in the router makes heavy use of the concept of Promises. In short, promises are objects that represent an eventual value. A promise can either fulfill (successfully resolve the value) or reject (fail to resolve the value). The way to retrieve this eventual value, or handle

AutoLocation

Ember.AutoLocation Namespace PRIVATE Defined in: packages/ember-routing/lib/location/auto_location.js:25 Module: ember-routing Ember.AutoLocation will select the best location option based off browser support with the priority order: history, hash, none. Clean pushState paths accessed by hashchange-only browsers will be redirected to the hash-equivalent and vice versa so future transitions are consistent. Keep in mind that since some of your users will use HistoryLocation, your server must

AutoLocation#global

globalprivate Defined in packages/ember-routing/lib/location/auto_location.js:64 Available since 1.11 Default: window

ArrayProxy#_contentWillChange()

_contentWillChangeprivate Defined in packages/ember-runtime/lib/system/array_proxy.js:133 Invoked when the content property is about to change. Notifies observers that the entire array content will change.

AutoLocation#cancelRouterSetup

cancelRouterSetupprivate Defined in packages/ember-routing/lib/location/auto_location.js:87 Available since 1.5.1 Default: false

ArrayProxy#objectAtContent()

objectAtContent (idx) Objectprivate Defined in packages/ember-runtime/lib/system/array_proxy.js:98 Should actually retrieve the object at the specified index from the content. You can override this method in subclasses to transform the content item to something new. This method will only be called if content is non-null. Parameters: idx Number The index to retrieve. Returns: Object the value or undefined if none found

ArrayProxy#replaceContent()

replaceContent (idx, amt, objects) Voidprivate Defined in packages/ember-runtime/lib/system/array_proxy.js:114 Should actually replace the specified objects on the content array. You can override this method in subclasses to transform the content item into something new. This method will only be called if content is non-null. Parameters: idx Number The starting index amt Number The number of items to remove from the content. objects Array Optional array of objects to insert or

ArrayProxy#contentArrayDidChange()

contentArrayDidChange (contentArray, start, removeCount, addCount) private Defined in packages/ember-runtime/lib/system/array_proxy.js:167 Override to implement content array didChange observer. Parameters: contentArray Ember.Array the content array start Number starting index of the change removeCount Number count of items removed addCount Number count of items added

ArrayProxy#_contentDidChange()

_contentDidChangeprivate Defined in packages/ember-runtime/lib/system/array_proxy.js:180 Invoked when the content property changes. Notifies observers that the entire array content has changed.