Data

From Get docs
< @angular/routerAngular/docs/11/api/router/data


Data

type-alias

Represents static data associated with a particular route.

type Data = {
    [name: string]: any;
};

See also

  • Route#data


© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/router/Data