沃达尔 (Vodal)
A Nice vue modal with animations.
带有动画的尼斯vue模态。
安装
npm i -S vodal
用法
<button @click=“togglebox”>点击弹出
<vodal :show=“show” animation=“rotate” @hide=“show = false”>
A vue modal with animations.
效果
道具 (Props )
| Property | Type | Default | Description |
| — | — | — | — |
| width | number | 400 | width of dialog |
| height | number | 240 | height of dialog |
| measure | string | px | measure of width and height |
| show | bool | false | whether to show dialog |
| mask | bool | true | whether to show mask |
| closeButton | bool | true | whether to show close button |
| closeOnEsc