소스 검색

feat: change example

mrxiaozhuox 3 년 전
부모
커밋
8801e4be00
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/window_event.rs

+ 1 - 1
examples/window_event.rs

@@ -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",
                         onmousedown: |evt| evt.cancel_bubble(),
                         onclick: move |_| {
-                            window.set_title("Oh Dioxus !!!");
+                            window.set_title("Dioxus Application");
                         },
                         "Change Title"
                     }