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

2 years ago
  1. <template>
  2. <v-btn-toggle mandatory>
  3. <v-tooltip bottom>
  4. <template #activator="{ on }">
  5. <v-btn icon @click="$emit('zoom-out')" v-on="on">
  6. <v-icon>{{ mdiMagnifyMinusOutline }}</v-icon>
  7. </v-btn>
  8. </template>
  9. <span>Zoom Out</span>
  10. </v-tooltip>
  11. <v-tooltip bottom>
  12. <template #activator="{ on }" v-on="on">
  13. <v-btn icon @click="$emit('zoom-in')">
  14. <v-icon>{{ mdiMagnifyPlusOutline }}</v-icon>
  15. </v-btn>
  16. </template>
  17. <span>Zoom In</span>
  18. </v-tooltip>
  19. </v-btn-toggle>
  20. </template>
  21. <script lang="ts">
  22. import Vue from 'vue'
  23. import { mdiMagnifyPlusOutline, mdiMagnifyMinusOutline } from '@mdi/js'
  24. export default Vue.extend({
  25. data() {
  26. return {
  27. mdiMagnifyPlusOutline,
  28. mdiMagnifyMinusOutline
  29. }
  30. }
  31. })
  32. </script>