MCPcopy Index your code
hub / github.com/angular/angular / withHashLocation

Function withHashLocation

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

Source from the content-addressed store, hash-verified

668 * @publicApi
669 */
670export function withHashLocation(): RouterHashLocationFeature {
671 const providers = [{provide: LocationStrategy, useClass: HashLocationStrategy}];
672 return routerFeature(RouterFeatureKind.RouterHashLocationFeature, providers);
673}
674
675/**
676 * 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…