Replies: 2 comments 2 replies
-
Hi!:) It's not possible to index items. What should happen with an out of bounds access? We could panic maybe. But I'm not sure that's intuitive. What we've typically done so far is to create two-way bindings to "communicate" from inside to the outside. The widget name is accessible within the repeated element. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I want to reformulate my question. Is it possible to bind a callback from outer scope with a signal/function from an inner unnamed item? For example:
How can I bind the |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
I can't find a way how to get access to the widgets generated by means of for-statement:
In my case I want to add key event handler to change focus between the created widgets. For example:
Is it possible to get the
items
here? Or maybe there is a workaround?And another question. What can I do with the
widget
identifier from the first snippet? Firstly I had thought, it was what I was looking for. But then I found that I can use it only inside theMyWidget
definition. Does it make sense?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions