el-popup
v0.0.3
Published
A el-popup component for Vue.
Downloads
5
Readme
Element Popup Mixin
A popup mixin for Vue.js.
Installation
npm i el-popup el-utils -D
Usage
import Vue from 'vue'
import Popup from 'el-popup'
require('el-popup/dist/style.css')
export default {
mixin: [Popup]
}
Options
| name | description | type | default | |-------------|-------------|-------------|-------------| | visible | | boolean | false | | modal | | boolean | false | | closeOnPressEscape | | boolean | false | | closeOnClickModal | | boolean | false | | modalClass | | string | '' | | transition | | string | pop-bounce | | openDelay | | number | null | | closeDelay | | number | null | | zIndex | | number | null |
Development
make dev
# test
make test
# build
make build