Socket
Socket
Sign inDemoInstall

simple-modal-vue

Package Overview
Dependencies
10
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "simple-modal-vue",
"version": "1.0.5",
"version": "1.0.6",
"description": "Build an extremely easy modal component in Vuejs",

@@ -5,0 +5,0 @@ "author": "toannt181 <toannt.181@gmail.com>",

@@ -1,2 +0,7 @@

# Simple Modal Vue
<h3 align="center"><a href="https://probot.github.io">Simple Modal Vue</a></h3>
<p align="center">Very light and simple modal component for Vue<p>
<p align="center"><a href="https://www.npmjs.com/package/simple-modal-vue"><img src="https://badgen.net/npm/v/simple-modal-vue" alt="NPM"></a>
---
- ### Very light and simple modal component for Vue

@@ -6,4 +11,5 @@ - ### No dependency required

- ### Fully support on IE10, IE11, Edge, Firefox, Safari, Ipad Safari and Chrome of course
- ### Fix scroll on Ipad
## Install
### Install

@@ -13,4 +19,7 @@ ```bash

```
```bash
yarn install simple-modal-vue --save
```
## Usage
### Usage
Usage in example

@@ -46,18 +55,20 @@ ```html

## Props and methods
Updating ...
### Props and methods
## Vesion
1.0.1 Publish release
| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| title | false | String | | Name of the modal |
| hasButtonClose | false | Boolean | false | If true allows showing the button close on the modal |
| hasFooter | false | Boolean | false | If true allows showing the footer of the modal |
| size | false | String ['responsive', 'small', 'big' ] | 'responsive' | If true allows resizing depend on config the modal window. |
## Build Setup
``` bash
# install dependencies
npm install
### Events
# serve with hot reload at localhost:8080
npm start
| Name | Description |
| --- | --- |
| onOpen | Emits when modal is opened |
| onClose | Emits when modal is closed |
# build for production with minification
npm run build
```
### Vesion
- 1.0.5 Add unit test coverage 100%
- 1.0.1 Publish release
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