port examples to new events
This commit is contained in:
1 parent
dee92b83be
commit
df222c121a
25 files changed
+55
-41
No files matched your search
@@ -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()),
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user