1.0.4 • Published 8 years ago

mobile-alert-zepto v1.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

Alert on mobile

Android has a poor implementation of alert dialog, so we design a uniform alert component to replace window.alert().

The UI resembles iOS dialog, you can customize text of message and the positive button.

Install

npm install mobile-alert-zepto

Usage

alert({
    msg: 'alert alert!',
    positive: 'ok'
});

No css are required! Just use the javascript snippet, css are built-in by webpack :)

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago