X Tutup
Skip to content

Q: router(router-outlet): how to pass properties/events to components #2399

@PatrickJS

Description

@PatrickJS

yo @btford ,

How do I pass properties/events to components that are loaded in by the <router-outlet>. The initial assumption is <router-outlet [model]="someInitialData"></router-outlet> but that doesn't work. Using @RouteConfig doesn't make sense (although allowing me to include hostInjectors/viewInjectors might be interesting)

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup