MCPcopy Create free account
hub / github.com/angular/angular / withHashLocation

Function withHashLocation

packages/router/src/provide_router.ts:676–679  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

674 * @publicApi
675 */
676export function withHashLocation(): RouterHashLocationFeature {
677 const providers = [{provide: LocationStrategy, useClass: HashLocationStrategy}];
678 return routerFeature(RouterFeatureKind.RouterHashLocationFeature, providers);
679}
680
681/**
682 * A type alias for providers returned by `withNavigationErrorHandler` for use with `provideRouter`.

Callers

nothing calls this directly

Calls 1

routerFeatureFunction · 0.85

Tested by

no test coverage detected