Skip to content

Commit 7241c01

Browse files
author
“RafaelGondi”
committed
feat: passa a export o evento no click do nativeEmits
1 parent ab312f1 commit 7241c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/composables/useComponentEmits.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export function nativeEmits(emits = null) {
22
const emitBlur = () => emits('blur');
33
const emitChange = () => emits('change');
4-
const emitClick = () => emits('click');
4+
const emitClick = (event) => emits('click', event);
55
const emitFocus = () => emits('focus');
66
const emitKeydown = (event) => emits('keydown', event);
77
const emitMouseenter = () => emits('mouseenter');

0 commit comments

Comments
 (0)