vue-wpm-confirm-dialog
v0.1.3
Published
## Installation ``` npm i vue-wpm-confirm-dialog ``` ## Importing ``` <template> <div> <WpmConfirmDialog @doConfirm="doConfirm"/> </div> </template>
Downloads
5
Readme
vue-wpm-confirm-dialog
Installation
npm i vue-wpm-confirm-dialog
Importing
<template>
<div>
<WpmConfirmDialog @doConfirm="doConfirm"/>
</div>
</template>
<script>
import WpmConfirmDialog from 'vue-wpm-confirm-dialog';
import 'vue-wpm-confirm-dialog/dist/vue-wpm-confirm-dialog.css'
export default {
components: {
WpmConfirmDialog
},
data() {
return {
confirm: false
}
},
methods: {
doConfirm() {
this.confirm = true
}
}
};
</script>