-
Notifications
You must be signed in to change notification settings - Fork 72
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
How to inject / use own config file? Enum import problem #64
Comments
Fixed it by changing the enums to strings. I created my own new class 'ToastConfig'
App module looks like this:
You might want to update your documentation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to inject my own config based on: https://github.com/artemsky/ng-snotify/blob/master/src/snotify/toastDefaults.ts
But I get errors that the enums could not be found? How can I solve this? Do you have an example on how to inject your own config file?
The instructions at https://artemsky.github.io/ng-snotify/documentation/api/options.html#setting-default-configuration did not help me.
The text was updated successfully, but these errors were encountered: