Skip to content

erfanyousefi/SweetAlertUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

SweetAlertUtils

you can use this class in your javascript project
npm install sweetalert2;
or
add cdn link script in your project

<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>

and you must import sweetalert2 files in your web project
if you install with npm added this codes
---------------------------------------
import Swal from 'sweetalert2/dist/sweetalert2.js'
import 'sweetalert2/src/sweetalert2.scss'

if you use html pages added this codes
--------------------------------------------------

<script src="your-directory/sweetalert2.min.js"></script>

and add my codes

for example : Alert.successAlert({title : '', text:''});
Enjoy

About

you can use this class in your javascript project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published