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

Function withRouterConfig

packages/router/src/provide_router.ts:631–634  ·  view source on GitHub ↗
(options: RouterConfigOptions)

Source from the content-addressed store, hash-verified

629 * @publicApi
630 */
631export function withRouterConfig(options: RouterConfigOptions): RouterConfigurationFeature {
632 const providers = [{provide: ROUTER_CONFIGURATION, useValue: options}];
633 return routerFeature(RouterFeatureKind.RouterConfigurationFeature, providers);
634}
635
636/**
637 * A type alias for providers returned by `withHashLocation` for use with `provideRouter`.

Calls 1

routerFeatureFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…