Sweet Alert 2 Examples
Alert Type | Example |
---|---|
Basic Example | |
A title with a text under | |
A success message! | |
A warning message, with a function attached to the "Confirm"-button... | |
By passing a parameter, you can execute something else for "Cancel". | |
A message with custom Image Header | |
A message with auto close timer | |
A message with button primary | |
A message with button info | |
A message with button success | |
A message with button warning | |
A message with button danger |