notiflix / Notiflix

Notiflix is a pure JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
https://notiflix.github.io
MIT License
635 stars 55 forks source link

SOLVED: Showing the report without message #18

Closed vmusulainen closed 4 years ago

vmusulainen commented 4 years ago

I have tried to show the report without message and I get Ford words' citation

https://github.com/notiflix/Notiflix/blob/master/dist/Unminified/notiflix-2.1.3.js#L719

It's way for showing the report without message? Or it is possible to do it passing message args as string with one space character?

furcan commented 4 years ago

Hi, Firstly thanks for using Notiflix.

The message parameter is required for the Report module. You can define a string with one space character as you said for this request.

Notiflix.Report.Failure(
    'Title',
    ' ',
    'Button Text',
);

Thanks.