Skip to content

Commit

Permalink
docs(VOverlay/VDialog): update events API
Browse files Browse the repository at this point in the history
reference #6504
  • Loading branch information
johnleider committed Apr 4, 2024
1 parent 5d5e9f0 commit 8083d89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/api-generator/src/locale/en/VOverlay.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"zIndex": "The z-index used for the component."
},
"events": {
"click:outside": "Event that fires when clicking outside an active overlay."
"click:outside": "Event that fires when clicking outside an active overlay.",
"afterLeave": "Event that fires after the overlay has finished transitioning out."
}
}
2 changes: 2 additions & 0 deletions packages/vuetify/src/components/VDialog/VDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export const VDialog = genericComponent<OverlaySlots>()({
props: makeVDialogProps(),

emits: {
'click:outside': (e: MouseEvent) => true,
'update:modelValue': (value: boolean) => true,
afterLeave: () => true,
},

setup (props, { slots }) {
Expand Down

0 comments on commit 8083d89

Please sign in to comment.