Skip to content

WebToast, A jQuery plugin for alerting user, loading box, confiram prompt.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.txt
Notifications You must be signed in to change notification settings

emrancu/webtoast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webToast

A jQuery plugin for alerting user and loading box.

You can easily push Danger, Info & Success alert to user and you can show loading box when need load data from API.

Check Details Demo Here

#Use for ConfirmBox...

$("#conf").click(function(){

  var confirmBox= webToast.confirm({message:'Are You Sure ?', align:'topcenter'});
  //var confirmBox= webToast.confirm('Are You Sure ?');

  confirmBox.click(function(){
    alert('confirmed');
 
  }) 

})

#Use for Loading...

var Loading= webToast.loading({
                 status:'Loading...',
                 message:'Please Wait..',
		 align:'topcenter'
                 });
   

setTimeout(function(){ 
  
 Loading.remove() ;
 
}, 3000);

#Use for Alert...

 webToast.Success({
                 status:'Wow !',
                 message:'You are success',
		 align:'topcenter'
                   /* Default delay time 3 second */
                 })
      webToast.Info({
                 status:'Hello !',
                 message:'I always try to learn',
	         align:'bottomcenter'
                 delay:false  /* Never hide autometically */
                 })
                 
     webToast.Danger({
                 status:'Sorry !',
		 align:'topleft'
                 message:'I have failed to complete',
                 delay:5000 /* 5 second will stay */
                 })

#Features

  • Confirmation Dialog
  • Loading Alert
  • Info Alert
  • Success Alert
  • Danger Alert
  • Custom Delay Time as Millisecond. also have default delay time for alert -3/3000 second

#License

The MIT License (MIT)

Author: AL EMRAN

About

WebToast, A jQuery plugin for alerting user, loading box, confiram prompt.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published