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

ToastContainerModule not found in 16.x.x #999

Open
somuda86 opened this issue Jun 8, 2023 · 3 comments
Open

ToastContainerModule not found in 16.x.x #999

somuda86 opened this issue Jun 8, 2023 · 3 comments

Comments

@somuda86
Copy link

somuda86 commented Jun 8, 2023

Cannot put https://github.com/scttcper/ngx-toastr/blob/master/README.md#put-toasts-in-your-own-container

@somuda86
Copy link
Author

somuda86 commented Jun 8, 2023

If this is not exported, How to achieve above requirement? @scttcper

@benjamin-wilson
Copy link

It looks like ToastContainerDirective was converted to a standalone component (https://angular.io/guide/standalone-components) so you should import ToastContainerDirective just like you did the module.

@somuda86
Copy link
Author

@benjamin-wilson Replacing ToastContainerModule with ToastContainerDirective worked . Docs need updation though

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

2 participants