Class NoneLocation

protected
Extends: EmberObject
Defined in: packages/@ember/-internals/routing/lib/location/none_location.ts:10
Module: @ember/routing
import NoneLocation from '@ember/routing/none-location';

NoneLocation does not interact with the browser. It is useful for testing, or when you need to manage state with your Router, but temporarily don't want it to muck with the URL (for example when you embed your application in a larger page).

Using NoneLocation causes Ember to not store the applications URL state in the actual URL. This is generally used for testing purposes, and is one of the changes made when calling App.setupForTesting().

Methods

Properties

Events

No documented items

© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/3.25/classes/NoneLocation