AutoLocation
Ember.AutoLocation Namespace
PRIVATE
Defined in: packages/ember-routing/lib/location/auto_location.js:22
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 serve the Ember app at all the routes you define.
_getHashPathprivate
cancelRouterSetupprivate
Default: false
globalprivate
Default: window
historyprivate
Default: environment.history
locationprivate
Default: environment.location
rootURLprivate
Default: '/'
userAgentprivate
Default: environment.history
© 2017 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://emberjs.com/api/classes/Ember.AutoLocation.html