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

Method url

packages/router/src/router.ts:350–352  ·  view source on GitHub ↗

The current URL.

()

Source from the content-addressed store, hash-verified

348
349 /** The current URL. */
350 get url(): string {
351 return this.serializeUrl(this.currentUrlTree);
352 }
353
354 /**
355 * Returns the current `Navigation` object when the router is navigating,

Callers

nothing calls this directly

Calls 1

serializeUrlMethod · 0.95

Tested by

no test coverage detected