mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
|