Port widgets to the new system

This commit is contained in:
Evan Almloff committed 2023-04-13 10:29:38 -05:00
1 parent c2b873c650
commit efa7305794
18 files changed
+286 -240

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ impl Driver for Counter {
_: bool,
) {
match event_type {
"oninput" => {
"input" => {
// when the button is clicked, increment the counter
if let EventData::Form(input_event) = &*event {
if let Ok(value) = input_event.value.parse::<f64>() {