Skip to content

rc6 modal improvement #1194

@repetier

Description

@repetier

Bug, feature request, or proposal:

proposal

What is the expected behavior?

easy modal popups

What is the current behavior?

requires module for each popup

Your solution for popups is way to complicated. Had the same issue and this post (not from me) helped me making it much simpler. Essentially use ComponentFactoryResolver and put all potetial popups in your module defintion under
entryComponents:[
PopupComp
]
and you can throw away the one module per popup.

https://blog.thecodecampus.de/angular-2-dynamically-render-components/

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