Bootstrap Sweet Alert
Metronic Sweet Alerts extends Bootstrap Sweet Alerts to allow options to be defined within the HTML. Please refer below for all option parameters and possible values:
data-title
- Define Sweet Alert Title (Text)
data-message
- Define Sweet Alert Message (Text)
data-type
- Defines the icon type to appear (success / error / warning / info)
data-show-confirm-button
- Defines to show confirm button (true / false)
data-confirm-button-class
- Defines any additional css classes to assign to confirm button (Text)
data-show-cancel-button
- Defines to show cancel button (true / false)
data-cancel-button-class
- Defines any additional css classes to assign to cancel button (Text)
data-close-on-confirm
- Defines if Sweet Alert closes when click on confirm button (true / false)
data-close-on-cancel
- Defines if Sweet Alert closes when click on cancel button (true / false)
data-confirm-button-text
- Defines Sweet Alert confirm button text (Text)
data-cancel-button-text
- Defines Sweet Alert cancel button text (Text)
data-popup-title-success
- Defines Sweet Alert confirmation popup Title for Success (Text)
data-popup-message-success
- Defines Sweet Alert confirmation popup Message for Success
data-popup-title-cancel
- Defines Sweet Alert confirmation popup Title for Cancel
data-popup-message-cancel
- Defines Sweet Alert confirmation popup Message for Cancel
For more info please check out
the official documentation.
Sweet Alert Samples
Sweet Alert Samples with Icons
Sweet Alert Samples with Custom Buttons
Sweet Alert Samples with Confimation Message
Solid Circle Buttons
Outline Circle Buttons
Standard Text Link
Standard Link Bold Link Italic Link Mixed Text LinkColored Text Link
Red Text Green Bold Link Blue Italic Link Purple Mixed Text LinkRegular Text
Icon Success Alert Pop up on regular text. Please click text.
It can be placed on any text paragraph. Mussum ipsum cacilds, vidis litro abertis. Consetis adipiscings elitis. Pra lá , depois divoltis porris, paradis. Paisis, filhis, espiritis santis. Mé faiz elementum girarzis, nisi eros vermeio, in elementis mé pra quem é amistosis quis leo. Manduma pindureta quium dia nois paga.