How to get output as the reponse while using reuseable component

Hello guys,
I have a question with this reuseable component:

  • If I use this reuseable component to create a selection
  • I have input as the reuseableComponent.properties
  • but where can I get or setting for the output for others element to get? (example like a variable)
1 Like

The nocode way is to trigger events from your reusable component and add a workflow from the parent that listens to that event. The data is passed as value of the event. I made a simple tutorial here.

There is an alternative method that requires a bit of code and uses a different approach. I made a tutorial here

1 Like

At the moment, what is available is to emit triggers, which will be similar to onValueChange of input for example.
What is on the way, will be the ability to expose variable externally (so like input - value for example) and action (like play video)

1 Like

Thank you very much @dorilama
That help me alot for my current works

1 Like