t4t5 / sweetalert

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

Feature suggestion: Add value 'question' for 'icon' parameter #929

Open nikunjbhatt opened 4 years ago

nikunjbhatt commented 4 years ago

Please add value 'question' for the 'icon' parameter along with the existing 'warning', 'error', 'success' and 'info' values.

On specifying this value, the popup should display an icon/image of a question mark in the SwAl popup.

It is common to use popups to ask users about their choice for 'yes' and 'no' questions and this option will better suit them where existing icon/images values are not most appropriate.