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

Feature: add .info .warning #93

Open
Zaffer opened this issue Dec 20, 2020 · 2 comments
Open

Feature: add .info .warning #93

Zaffer opened this issue Dec 20, 2020 · 2 comments

Comments

@Zaffer
Copy link

Zaffer commented Dec 20, 2020

Hi please add the .info and .warning as standard. This way it will be compatible for me to move over from toastr js (https://codeseven.github.io/toastr/)

will also be nice to implement their feature set with your nice styling and features.

Great plugin by the way!

Thanks!

@XternalSoft
Copy link

Hello @Zaffer ,

You can create a custom type

https://github.com/caroso1222/notyf#custom-toast-type

@Zaffer
Copy link
Author

Zaffer commented Jan 24, 2021

Hello @Zaffer ,

You can create a custom type

https://github.com/caroso1222/notyf#custom-toast-type

Thanks for the response, however this does not help my situation. As I explain in my request; the only way to make it compatible with my existing code is if I can insert the following string directly into my JavaScript <script> tag: ".info('information')" ".warning('be careful')".

If there a way for the custom tags to be callable with the same function structure once created? This is will super useful for me application! I really want to use your tool because it looks the best.

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