Socket
Socket
Sign inDemoInstall

mobile-alert-zepto

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mobile-alert-zepto

mobile alert replacing window.alert(), mocking iOS alert UI, supporting custom message and positive button text


Version published
Maintainers
1
Install size
86.5 kB
Created

Readme

Source

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 :)

Keywords

FAQs

Last updated on 09 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc