js toast消息提示通知插件spop.js Elegant Notification Popup Library – spop

SmallPop

Basic

Tip: to remove all SmallPop's click the title.

Include spop.js and spop.css in your page,

Position

SmallPox has six differents positions:

In mobile (max-width:30em), all go down.

Autoclose

Autoclose, to... close... automatically... Woohoo never done before

Autoclose

Groups

There can only be one SmallPop from each group

GroupNo groupGroup

Callbacks

Do what you need onOpen and onClose

Callbacks

Event

In your template you can call the close event, just add data-spop="close"

Launch

Change Defaults

Change the default options of all SmallPop's

Changed all defaultsRestore defaults

Options

浏览器支持
Chrome, Firefox, IE 11-10-9 (9 没有动画效果), Android Browser, Chrome for Android, Safari, iOS Safari

Created by Sílvio Rosa • Follow me on twitter for updates.

Go top