quick-el-dialog
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

quick-el-dialog

Installtion

npm i quick-el-dialog

Usage

import Vue from 'vue'
import UseDynamicMount from 'use-dynamic-mount'
import QuickElDialog from 'quick-el-dialog'

app.use(UseDynamicMount(), {
  name: '$createDialog',
  extend: QuickElDialog,
  nextTick() {
    // 勿使用箭头函数
    this.visible = true
  }
})

this.$createDialog({
  title: '标题',
  component: 'el-empty',
  props: { description: '测试内容' },
  buttons: [{ text: '关闭', callback: 'close', cib: true }]
})

Readme

Keywords

none

Package Sidebar

Install

npm i quick-el-dialog

Weekly Downloads

9

Version

1.1.0

License

MIT

Unpacked Size

7.48 kB

Total Files

6

Last publish

Collaborators

  • iamgx