Skip to content

ljguo/jQuery-Toast

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

jQuery-Toast

Introduction

A Simple Android Style MessageBox(Toast).

Rely on jQuery.

Quick Start

Remember to call init function in order to insert the style

Toast.init();

Then You can try

Toast("hello, world").show();

Further

Toast({
   text: "hello, world", 
   time: 2000, 
   autoPos: false, 
   x: function(){ return 100;},
   y: 200 
}).show();

Tips

The default position is calculated automaticly.

If you want to control by yourself, please set autoPos to false, then input the x and y as you want ( function can be accept, too ) .

About

A Simple Android Style MessageBox(Toast)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published