ye-modal
v1.0.2
Published
测试学习npm上传组件
Downloads
7
Readme
文档地址
http://callmeye.gitee.io/vue-modal-gitee/
安装使用
$ npm install ye-modal -D
或 $ yarn add ye-modal --dev
快速使用
引入
import ye-modal from ye-modal
Vue.use(ye-modal)//使用我们的组件注册到全局
<modal>...</modal>
API
| 属性 | 说明 | 类型 | 默认值 |
|-------------|------------|:--------:|:-----:|
| visible | 对话框是否可见 | Boolean
| false |
| comfirm | 点击遮罩层或取消按钮的回调 | Function
| - |