Include the alert.css and alert.css file in your project
Call Alert.success('Message','Success',{displayDuration: 3000, pos: 'top'}); for Success Alert
Call Alert.info('Message','Hello there',{displayDuration: 0}); for Info Alert
Call Alert.error('Please fill all fields','',{displayDuration: 3}); For Error Alert
Call Alert.warning('Message','Meh'); for Warning Alert
Credits : https://codepen.io/mpeutz2/
-
Notifications
You must be signed in to change notification settings - Fork 0
imranhsayed/alert-popups
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Just call the given functions in your js file explained in the read me file , instead of regular alert function to get beautiful alert popups
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published