From 6c4645eea5f26e32bc462c8627031a3563b1c39a Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 29 Apr 2025 14:44:48 -0500 Subject: overhaul ui * implement events instead of interfaces Interfaces and the wrappers head the problem that they could not support multiple events at once or only a single one without loosing the others. * add text input support for WASM on mobile A hidden html input is required to open the keyboard and receive the input. * improve the number choice * fix using the default number * add submit button only if a onclick method was provided --- go/ui/scrollable.go | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 go/ui/scrollable.go (limited to 'go/ui/scrollable.go') diff --git a/go/ui/scrollable.go b/go/ui/scrollable.go deleted file mode 100644 index 90e0a3a5..00000000 --- a/go/ui/scrollable.go +++ /dev/null @@ -1,5 +0,0 @@ -package ui - -type Scrollable interface { - Scroll(x, y int) -} -- cgit v1.2.3