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

Function navigateByUrl

packages/router/src/router_devtools.ts:31–36  ·  view source on GitHub ↗
(router: Router, url: string)

Source from the content-addressed store, hash-verified

29 * Throws if the provided router is not an Angular Router.
30 */
31export function navigateByUrl(router: Router, url: string): Promise<boolean> {
32 if (!(router instanceof Router)) {
33 throw new Error('The provided router is not an Angular Router.');
34 }
35 return router.navigateByUrl(url);
36}

Callers 1

Calls 1

navigateByUrlMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…