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
@@ -45,7 +45,7 @@ fn app() -> Element {
width: "50%",
height: "50%",
background_color: "red",
onmounted: move |cx| div_element.set(Some(cx.inner().clone())),
onmounted: move |cx| div_element.set(Some(cx.data())),
"This element is {dimensions():?}"
}