Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

modals

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modals - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

LICENSE

4

package.json
{
"name": "modals",
"version": "0.1.8",
"version": "0.1.9",
"description": "reimplementation of toast/alert/confirm/prompt",

@@ -19,3 +19,3 @@ "main": "src/index.js",

"type": "git",
"url": ""
"url": "https://github.com/MrRaindrop/modals"
},

@@ -22,0 +22,0 @@ "keywords": [

# lib-modal
**version:** 0.1.3
A modal displays content that temporarily blocks interactions with the main view of a site. This lib temporarily support alert, confirm and prompt. Also there's a toast method to display a short info, which is not technically a modal.

@@ -9,18 +7,6 @@

``tnpm install @ali/lib-modal --save``
``npm install modals --save``
## usage
### require:
```
var modal = require('@ali/lib-modal')
```
or get it from global:
```
var modal = lib.modal
```
### toast

@@ -106,8 +92,2 @@

## Change Log
#### 0.1.3
- use css instead of sass.
## License

@@ -114,0 +94,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc