Ember.AutoLocation Class
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 serve the Ember app at all the routes you define.
Item Index
Methods
Methods
_getFullPath
()
private
_getHash
()
private
_getHashPath
()
private
_getHistoryPath
()
private
_getOrigin
()
private
_getPath
()
private
_getQuery
()
private
_getRootURL
()
private
_getSupportsHashChange
()
private
_getSupportsHistory
()
private
_replacePath
()
private
create
()
Selects the best location option based off browser support and returns an instance of that Location class.
Properties
_HashLocation
Unknown
private
Default: Ember.HashLocation
_history
Unknown
private
Default: window.history
_HistoryLocation
Unknown
private
Default: Ember.HistoryLocation
_NoneLocation
Unknown
private
Default: Ember.NoneLocation
_window
Unknown
private
Default: window
cancelRouterSetup
Unknown
private
Default: false
location
Unknown
private
Default: window.location
rootURL
Unknown
private
Default: '/'
