aboutsummaryrefslogtreecommitdiff
path: root/vendor/wasm
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-09-20 01:29:39 +0100
committergingerBill <bill@gingerbill.org>2024-09-20 01:29:39 +0100
commitb116e8ff55c9250d29f63d7b91cb749bf0766c4f (patch)
treec1c19e4eae13878e20130d4da089a79f93ee4d2f /vendor/wasm
parenta4dd4892846c73d21793138f518fc4b877aebca8 (diff)
Fix 128-bit integer support for wasm targets
Diffstat (limited to 'vendor/wasm')
-rw-r--r--vendor/wasm/js/events.odin6
1 files changed, 5 insertions, 1 deletions
diff --git a/vendor/wasm/js/events.odin b/vendor/wasm/js/events.odin
index 442dc50b3..258776fff 100644
--- a/vendor/wasm/js/events.odin
+++ b/vendor/wasm/js/events.odin
@@ -30,6 +30,8 @@ Event_Kind :: enum u32 {
Wheel,
Focus,
+ Focus_In,
+ Focus_Out,
Submit,
Blur,
Change,
@@ -110,6 +112,8 @@ event_kind_string := [Event_Kind]string{
.Wheel = "wheel",
.Focus = "focus",
+ .Focus_In = "focusin",
+ .Focus_Out = "focusout",
.Submit = "submit",
.Blur = "blur",
.Change = "change",
@@ -332,7 +336,7 @@ remove_custom_event_listener :: proc(id: string, name: string, user_data: rawptr
return _remove_event_listener(id, name, user_data, callback)
}
-
+import "core:fmt"
@(export, link_name="odin_dom_do_event_callback")