State before adding a confirmation modal
This commit is contained in:
35
src/components/confirmationModal.vue
Normal file
35
src/components/confirmationModal.vue
Normal file
@@ -0,0 +1,35 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue'
|
||||
import './assets/style.scss'
|
||||
|
||||
export default defineComponent({
|
||||
data() {
|
||||
defineModel( return {
|
||||
confirmationURL : String
|
||||
}
|
||||
)
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
name: 'confirmationModal',
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<div class="modal is-active">
|
||||
<div class="modal-background"></div>
|
||||
<div class="modal-content">
|
||||
<div class="box">
|
||||
<p>woop</p>
|
||||
</div>
|
||||
</div>
|
||||
<button class="modal-close" @click="$emit('close')"></button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user