@extends('layouts.vertical', ['title' => 'Rizz']) @section('css') @vite(['node_modules/sweetalert2/dist/sweetalert2.min.css', 'node_modules/animate.css/animate.min.css']) @vite(['resources/js/pages/sweet-alert.init.js']) @endsection @section('content')
A basic message | |
A title with a text under | |
A modal with a title, an error icon, a text, and a footer | |
Custom HTML description and buttons with ARIA labels | |
A dialog with three buttons | |
A custom positioned dialog | |
Custom animation with Animation | |
A confirm dialog, with a function attached to the "Confirm"-button... | |
... and by passing a parameter, you can execute something else for "Cancel". | |
A message with a custom image | |
A message with custom width, padding, background and animated Nyan Cat | |
A message with auto close timer | |
Right-to-left support for Arabic, Persian, Hebrew, and other RTL languages | |
AJAX request example | |
Mixin example | |
Declarative template example |