My modal
Very light and simple modal component for Vue
- ### Very light and simple modal component for Vue
- ### No dependency required
- ### No external CSS library required
- ### Fully support on IE10, IE11, Edge, Firefox, Safari, Ipad Safari and Chrome of course
- ### Fix scroll on Ipad
Install
npm install simple-modal-vue --save
yarn add simple-modal-vue --save
Usage
Usage in example
My modal Hello you OK on off button
Props and methods
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. |
Events
Name | Description |
---|---|
onOpen | Emits when modal is opened |
onClose | Emits when modal is closed |
Vesion
- 1.0.9 Fix some minor issues
- 1.0.5 Add unit test coverage 100%
- 1.0.1 Publish release