Skip to content
Discussion options

You must be logged in to vote

You can either forward the properties to the root component like so:

export component AppWindow inherits Window {
   in property pieces <=> board.pieces;
   
   board:= ChessBoard {
       // ...
   }
}

Or you use a global: https://slint.dev/releases/1.3.2/docs/slint/src/language/syntax/globals

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@loloof64
Comment options

Answer selected by loloof64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants