t4t5 / sweetalert

A beautiful replacement for JavaScript's "alert"
https://sweetalert.js.org
MIT License
22.4k stars 2.84k forks source link

Docs, not just examples #1011

Closed Be1zebub closed 8 months ago

Be1zebub commented 8 months ago

Lib require documentation, usage examples are not enough. I wanted to write different styles for different modals, and I had to read source to find out about the existence of className.

I suggest, at least document SwalOptions.

t4t5 commented 8 months ago

https://sweetalert.js.org/docs/#classname