Skip to content

Footer in Dynamic Dialog #113

Discussion options

You must be logged in to vote

Hi,

Unfortunately, you can only add the footer in string format to the dynamic dialog. For now, the dynamic dialog doesn't have templating support. However, you can achieve a similar thing by creating your own custom dynamic dialog with Dialog component. The process would be similar to this:

1-) Create a separate component
2-) In here by using dialog component and templating feature, you can implement desired customizations.
3-) Dynamically create this component by using Angular's viewContainerRef
4-) Create a service for injection if you want to subscribe open/close or want to use any events.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@kashcode
Comment options

Answer selected by cetincakiroglu
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Et3rnal
Comment options

@webmatth
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants