Skip to content

Not sure how to pass messages within components. #5571

Closed Answered by ogoffart
sakshatshinde asked this question in Q&A
Discussion options

You must be logged in to vote

You have two choice:

  1. Use a global to hold these properties/callback and re-export this global https://releases.slint.dev/1.6.0/docs/slint/src/recipes/recipes#global-callbacks
  2. Forward the properties to the room with the two-way bindings (<=>) or normal bindings.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sakshatshinde
Comment options

You must be logged in to vote
0 replies
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