Skip to content

A lightweight toast component for mobile frontend.

License

Notifications You must be signed in to change notification settings

shenfe/lite-toast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

lite-toast

A lightweight toast component for mobile frontend.

Demo

Demo

Usage

Toast('Hello!');
Toast('How are<br>you?', {
    cssText: 'border:1px solid #ccc;text-align:center;color:#000;background:rgba(255,255,255,0.5);',
    delay: 2000,
    callback: function () {
        alert('Fine!');
    }
});

License

MIT

About

A lightweight toast component for mobile frontend.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages