Closed SteveHawes closed 7 years ago
I have tried to use the following call to display a progress bar as suggested in Issue #2 :-
plugins.webnotificationsToastr.success('message', 'title', {progressBar: true})
and this works fine but if I do not want a title to be shown and instead use the code:
plugins.webnotificationsToastr.success('message', null, {progressBar: true}); or plugins.webnotificationsToastr.success('message', '', {progressBar: true});
plugins.webnotificationsToastr.success('message', null, {progressBar: true});
plugins.webnotificationsToastr.success('message', '', {progressBar: true});
the additional options appear to be ignored and the default ones are used.
How can I set the additional options without requiring a title to be displayed?
Thanks Steve
It also appears that the title and the message are reversed when being displayed.
This
should work now as expected
I have tried to use the following call to display a progress bar as suggested in Issue #2 :-
plugins.webnotificationsToastr.success('message', 'title', {progressBar: true})
and this works fine but if I do not want a title to be shown and instead use the code:
plugins.webnotificationsToastr.success('message', null, {progressBar: true});
orplugins.webnotificationsToastr.success('message', '', {progressBar: true});
the additional options appear to be ignored and the default ones are used.
How can I set the additional options without requiring a title to be displayed?
Thanks Steve