event param

This commit is contained in:
Damodar Lohani committed 2024-09-26 16:14:41 +05:45
1 parent d1c7ee0cfa
commit ca7a9bf545
1 file changed
+2 -2
+2 -2
View File
@@ -16,11 +16,11 @@
const dispatch = createEventDispatcher();
function onClick() {
function onClick(event) {
if (!allowCreate) {
return;
}
dispatch('click');
dispatch('click', event);
}
function track() {