-
I have:
I have a control button in In order to archive this, I have to:
I have to throw up the callback one by one. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You could also have a global component that has a bunch of interesting callbacks and properties. You can import that global object everywhere needed. That can sometimes safe a lot of typing:-) But yes, that will probably not work here... the only other option is what you are doing: Propagate the callback manually. #7813 proposes a more elegant way to do that, let's see how that PR fares. |
Beta Was this translation helpful? Give feedback.
You could also have a global component that has a bunch of interesting callbacks and properties. You can import that global object everywhere needed. That can sometimes safe a lot of typing:-)
But yes, that will probably not work here... the only other option is what you are doing: Propagate the callback manually. #7813 proposes a more elegant way to do that, let's see how that PR fares.