@extends('layouts.vertical', ['title' => 'Sweet Alert 2', 'topbarTitle' => 'Sweet Alert 2']) @section('css') @vite(['node_modules/sweetalert2/dist/sweetalert2.css']) @endsection @section('content')
Here's a basic example of SweetAlert.
A Title with a Text Under.
Here's an example of SweetAlert with HTML content.
Here are examples for each of SweetAlert's states.
A modal window with a long content inside.
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 custom positioned dialog.
A message with custom width, padding and background.
Ajax request example.