mirror of https://github.com/doccano/doccano.git
pythondatasetnatural-language-processingdata-labelingmachine-learningannotation-tooldatasetsactive-learningtext-annotation
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.
33 lines
820 B
33 lines
820 B
<template>
|
|
<v-btn-toggle mandatory>
|
|
<v-tooltip bottom>
|
|
<template #activator="{ on }">
|
|
<v-btn icon @click="$emit('zoom-out')" v-on="on">
|
|
<v-icon>{{ mdiMagnifyMinusOutline }}</v-icon>
|
|
</v-btn>
|
|
</template>
|
|
<span>Zoom Out</span>
|
|
</v-tooltip>
|
|
<v-tooltip bottom>
|
|
<template #activator="{ on }" v-on="on">
|
|
<v-btn icon @click="$emit('zoom-in')">
|
|
<v-icon>{{ mdiMagnifyPlusOutline }}</v-icon>
|
|
</v-btn>
|
|
</template>
|
|
<span>Zoom In</span>
|
|
</v-tooltip>
|
|
</v-btn-toggle>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from 'vue'
|
|
import { mdiMagnifyPlusOutline, mdiMagnifyMinusOutline } from '@mdi/js'
|
|
export default Vue.extend({
|
|
data() {
|
|
return {
|
|
mdiMagnifyPlusOutline,
|
|
mdiMagnifyMinusOutline
|
|
}
|
|
}
|
|
})
|
|
</script>
|