1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| <script setup lang="ts">
| import { $t } from '@/locales';
|
| defineOptions({
| name: 'FullScreen'
| });
|
| interface Props {
| full?: boolean;
| }
|
| defineProps<Props>();
| </script>
|
| <template>
| <ButtonIcon :key="String(full)" :tooltip-content="full ? $t('icon.fullscreenExit') : $t('icon.fullscreen')">
| <icon-gridicons-fullscreen-exit v-if="full" />
| <icon-gridicons-fullscreen v-else />
| </ButtonIcon>
| </template>
|
| <style scoped></style>
|
|