-
Notifications
-
John Doe added new task Patient appointment booking
4 mins ago
-
V
Tarah Shropshire changed the task name Appointment booking with payment gateway
6 mins ago
-
L
Misty Tison added Domenic Houston and Claire Mapes to project Doctor available module
8 mins ago
-
G
Rolland Webber completed task Patient and Doctor video conferencing
12 mins ago
-
V
Bernardo Galaviz added new task Private chat module
2 days ago
-
-
Liam Michael
Admin
- Dashboard
- Sweetalerts
Basic Examples
SweetAlert automatically centers itself on the page and looks great no matter if you're using a desktop computer, mobile or tablet. It's even highly customizable, as you can see below!
Position
You can specify position of your alert with position : { top-start | top-end | bottom-start | bottom-end }
in js.
Types
The type of the modal. SweetAlert comes with 4 built-in types which will show a corresponding icon animation: "warning", "error", "success" and "info". You can also set it as "input" to get a prompt modal. It can either be put in the object under the key "icon" or passed as the third parameter of the function.
Options
Confirm Options
Confirm Button Text
Use confirmButtonText: "Your text here!"
option to change the text of the "Confirm" button.
Confirm Button Color
Use confirmButtonClass: "btn btn-{colorName}"
option to change the color of the "Confirm" button.
-
RRichard Miles 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing
-
JJohn Doe 1 Aug Lorem ipsum dolor sit amet, consectetur adipiscing
-
TTarah Shropshire 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing
-
MMike Litorus 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing
-
CCatherine Manseau 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing
-
DDomenic Houston 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing
-
BBuster Wigton 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing
-
RRolland Webber 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing
-
CClaire Mapes 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing
-
MMelita Faucher 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing
-
JJeffery Lalor 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing
-
LLoren Gatlin 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing
-
TTarah Shropshire 12:28 AM Lorem ipsum dolor sit amet, consectetur adipiscing