Port widgets to the new system
This commit is contained in:
1 parent
c2b873c650
commit
efa7305794
18 files changed
+286
-240
No files matched your search
@@ -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>() {
|
||||
|
||||
Reference in new issue
Block a user