fix(Examples/Multi-Window): launch the popup content instead of app.
Not sure if my assumption is correct but it seemed this was the intention of the popup fn.
This commit is contained in:
1 parent
22e71a71bd
commit
7e54764652
1 file changed
+1
-1
@@ -12,7 +12,7 @@ fn app(cx: Scope) -> Element {
|
|||||||
div {
|
div {
|
||||||
button {
|
button {
|
||||||
onclick: move |_| {
|
onclick: move |_| {
|
||||||
let dom = VirtualDom::new(app);
|
let dom = VirtualDom::new(popup);
|
||||||
window.new_window(dom, Default::default());
|
window.new_window(dom, Default::default());
|
||||||
},
|
},
|
||||||
"New Window"
|
"New Window"
|
||||||
|
|||||||
Reference in new issue
Block a user