rename inner on event to data
This commit is contained in:
12 files changed
+47
-50
No files matched your search
@@ -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():?}"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user