Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posts/angular/reusable-modal-overlay-using-angular-cdk-overlay/ #19

Open
utterances-bot opened this issue Nov 21, 2019 · 3 comments
Open

Comments

@utterances-bot
Copy link

How to build a reusable Modal Overlay/Dialog Using Angular CDK

In this lesson, we are going to learn how to create reusable modal overlays using Angular CDK Overlay.

https://codinglatte.com/posts/angular/reusable-modal-overlay-using-angular-cdk-overlay/

Copy link

Nice !
I would only add option to override config while opening the dialog ( you have to add property config in overlay.service.ts, in open method )

@mainawycliffe
Copy link
Member

I agree, I wanted to but it slipped my mind.

Copy link

Kevorky commented Aug 24, 2020

Great article Maina! Really appreciate it. Very helpful.

One quick point, on the OnInit section of your article, you forgot to add the line on the top
this.content = this.ref.content;

But you did have this in your repository version of code. That's where I got it from.

Thanks again and good job!

Kevo

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

No branches or pull requests

4 participants