An event triggered when a navigation ends successfully.
API
class NavigationEnd extends RouterEvent {
constructor(id: number, url: string, urlAfterRedirects: string): NavigationEnd;
readonly type: EventType.NavigationEnd;
override urlAfterRedirects: string;
override id: number;
override url: string;
}
constructor
NavigationEndurlAfterRedirects
stringid
numberA unique ID that the router assigns to every router navigation.
url
stringThe URL that is the destination for this navigation.