simple-modal-vue
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"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 |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
29660
71
0