port examples to new events

This commit is contained in:
Evan Almloff committed 2023-09-01 15:38:55 -05:00
1 parent dee92b83be
commit df222c121a
25 files changed
+55 -41

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ fn App(cx: Scope) -> Element {
// we tell the component what to render
value: "{name}",
// and what to do when the value changes
oninput: move |evt| name.set(evt.value.clone()),
oninput: move |evt| name.set(evt.value()),
}
})
}