Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 507b6c8

Browse files
chore: fix type
1 parent 7db7267 commit 507b6c8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎docs/components/content/ModalBottom.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import { VueFinalModal } from 'vue-final-modal'
44
defineProps<{
55
title?: string
66
}>()
7+
8+
const emit = defineEmits<{
9+
(e: 'close'): void
10+
}>()
711
</script>
812

913
<template>
@@ -12,6 +16,7 @@ defineProps<{
1216
swipe-to-close="down"
1317
content-transition="vfm-slide-down"
1418
overlay-transition="vfm-fade"
19+
@close="() => emit('close')"
1520
>
1621
<h1 class="text-xl">
1722
{{ title }}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /