create (options) Object
deprecatedprivate
Use the container to lookup the location implementation that you need.
This is deprecated in favor of using the container to lookup the location implementation as desired.
For example:
1 2 3 4 5 | // Given a location registered as follows: container.register( 'location:history-test' , HistoryTestLocation); // You could create a new instance via: container.lookup( 'location:history-test' ); |
Parameters:
-
options
Object
Returns:
-
Object
- an instance of an implementation of the `location` API
Please login to continue.