Considering add routers #6783
Unanswered
DennisZhangOiler
asked this question in
Ideas
Replies: 1 comment
-
Could you elaborate on what exactly you mean by "router"? In my mind, this means something that associate some particular URL to some particular ui component to render. What is done if you have multiple scene is to have: export enum Page { foo, bar }
export component MyWindow inherits Window {
in-out property <Page> page;
if page == Page.foo : FooPage { ... }
if page == Page.bar : BarPage { ... }
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found out that slint does not have router currently, which will be very convenient when developing multiple scene apps.
Beta Was this translation helpful? Give feedback.
All reactions