@spartacus/storefront
Version:
Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.
28 lines (27 loc) • 571 B
TypeScript
import { Params } from '@angular/router';
import { CxEvent, PageContext } from '@spartacus/core';
/**
* Indicates that a user navigated to an arbitrary page.
*/
export declare class NavigationEvent extends CxEvent {
/**
* Event's type
*/
static readonly type = "NavigationEvent";
/**
* The page's context
*/
context: PageContext;
/**
* The route's semantic name
*/
semanticRoute?: string;
/**
* The current URL
*/
url: string;
/**
* The current URL's params
*/
params: Params;
}