WIP: moving to CbIdx as serializable event system
This commit is contained in:
1 parent
e4b1f6ea0d
commit
e840f472fa
9 files changed
+160
-200
No files matched your search
@@ -16,11 +16,9 @@ static Example: FC<()> = |ctx| {
|
||||
|
||||
ctx.view(html! {
|
||||
<div>
|
||||
<h1> "Hello, {value}" </h1>
|
||||
<button onclick={move |_| set_value("world!")}> "?" </button>
|
||||
<button onclick={move |_| set_value("Dioxus 🎉")}> "?" </button>
|
||||
<div>
|
||||
<h1> "Hello, {value}" </h1>
|
||||
</div>
|
||||
</div>
|
||||
})
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user