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

+2 -2
View File
@@ -40,7 +40,7 @@ cx.render(rsx!(
},
input {
value: "{comment_field}",
oninput: |event| comment_field.set(event.value.clone()),
oninput: |event| comment_field.set(event.value()),
}
input {
r#type: "submit",
@@ -71,7 +71,7 @@ cx.render(rsx!(
},
input {
value: "{comment_field}",
oninput: |event| comment_field.set(event.value.clone()),
oninput: |event| comment_field.set(event.value()),
}
input {
r#type: "submit",