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

Method url

packages/router/src/router.ts:361–363  ·  view source on GitHub ↗

The current URL.

()

Source from the content-addressed store, hash-verified

359
360 /** The current URL. */
361 get url(): string {
362 return this.serializeUrl(this.currentUrlTree);
363 }
364
365 /**
366 * 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