Skip to content

algesthesiah/VueMaskDialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-mask-dialog

vue 遮罩对话框

Usage

<template>
  <div>
    <div class="container">
      <h2>打开对话框</h2>
      <VueMaskDialog v-model="show" @submit="submit" title="标题">
        <div class="form">
          <span>自定义对话框</span>
        </div>
      </VueMaskDialog>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      show: false,
    }
  },
  methods: {
    submit(e) {
      alert(e)
    },
  },
}
</script>

DEMO

NPM

# use npm
npm i vue-mask-dialog -S

# use yarn
yarn add vue-mask-dialog

Import Plugins

import VueMaskDialog from 'vue-mask-dialog'
Vue.use(VueMaskDialog)

About

vue 遮罩对话框

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published