mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
event param
This commit is contained in:
1 parent
d1c7ee0cfa
commit
ca7a9bf545
1 file changed
+2
-2
@@ -16,11 +16,11 @@
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
function onClick() {
|
||||
function onClick(event) {
|
||||
if (!allowCreate) {
|
||||
return;
|
||||
}
|
||||
dispatch('click');
|
||||
dispatch('click', event);
|
||||
}
|
||||
|
||||
function track() {
|
||||
|
||||
Reference in new issue
Block a user