mirror of https://github.com/doccano/doccano.git
pythondatasetnatural-language-processingdata-labelingmachine-learningannotation-tooldatasetsactive-learningtext-annotation
32 lines
502 B
32 lines
502 B
<template>
|
|
<v-dialog
|
|
v-model="dialog"
|
|
width="800px"
|
|
>
|
|
<template v-slot:activator="{ }">
|
|
<slot name="opener" :open="open" />
|
|
</template>
|
|
<slot name="content" :close="close" />
|
|
</v-dialog>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from 'vue'
|
|
|
|
export default Vue.extend({
|
|
data() {
|
|
return {
|
|
dialog: false as Boolean
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
close(): void {
|
|
this.dialog = false
|
|
},
|
|
open(): void {
|
|
this.dialog = true
|
|
}
|
|
}
|
|
})
|
|
</script>
|