@daffodil/router
TypeScript icon, indicating that this package has built-in type declarations

0.71.0 • Public • Published

@daffodil/router

Contains utilities useful for dealing with and adding features to the Angular router.

Features

Route Named Views

Adds the ability to define additional components in a Route config:

const routes = [
  <DaffRouteWithNamedViews>{
    ...
    data: {
      daffNamedViews: {
        key: MyComponent,
      },
    },
  },
]

Each component is associated with a key and can be rendered like so:

<ng-container daffRouterNamedViewOutlet="key"></ng-container>

Readme

Keywords

none

Package Sidebar

Install

npm i @daffodil/router

Weekly Downloads

48

Version

0.71.0

License

MIT

Unpacked Size

70.3 kB

Total Files

43

Last publish

Collaborators

  • damienwebdev
  • griest