mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-26 14:10:20 +00:00
feat: change example
This commit is contained in:
parent
04d3098c9b
commit
8801e4be00
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ fn app(cx: Scope) -> Element {
|
||||||
class: "inline-flex items-center text-white bg-blue-500 border-0 py-1 px-3 hover:bg-green-700 rounded",
|
class: "inline-flex items-center text-white bg-blue-500 border-0 py-1 px-3 hover:bg-green-700 rounded",
|
||||||
onmousedown: |evt| evt.cancel_bubble(),
|
onmousedown: |evt| evt.cancel_bubble(),
|
||||||
onclick: move |_| {
|
onclick: move |_| {
|
||||||
window.set_title("Oh Dioxus !!!");
|
window.set_title("Dioxus Application");
|
||||||
},
|
},
|
||||||
"Change Title"
|
"Change Title"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue