rename inner on event to data

This commit is contained in:
Jonathan Kelley committed 2024-01-31 16:26:19 -08:00
1 parent 33e90da314
commit a14789eebc
12 files changed
+47 -50

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ fn app() -> Element {
rsx! {
div {
h1 {
onmounted: move |cx| header_element.set(Some(cx.inner().clone())),
onmounted: move |cx| header_element.set(Some(cx.data())),
"Scroll to top example"
}