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

Override global option (the 3rd parameter) #5

Closed
ShenglinGuo opened this issue Nov 16, 2015 · 3 comments
Closed

Override global option (the 3rd parameter) #5

ShenglinGuo opened this issue Nov 16, 2015 · 3 comments

Comments

@ShenglinGuo
Copy link

Hi, if it is not too much trouble can you implement to allow override of global parameter when calling toastr. Looking at the code, it currently only allow message and title, there does not seems to be any way to pass the overriding option to toastr at moment.

My specific usage is for some notification, I want to make to stick (not auto dismiss), while for most other notification I still do want them to auto dismiss.

Thank you very much

@knownasilya
Copy link
Owner

Yes, will totally look at implementing something this week

knownasilya pushed a commit that referenced this issue Nov 16, 2015
* Add `option` argument to all methods (see #5)

* Fix dummy app examples
@knownasilya
Copy link
Owner

Released as 1.2.0

@ShenglinGuo
Copy link
Author

Great, Thank you

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

No branches or pull requests

2 participants