# How to get output as the reponse while using reuseable component

**URL:** <https://community.weweb.io/t/how-to-get-output-as-the-reponse-while-using-reuseable-component/6044>\
**Category:** How do I?\
**Tags:** binding, design, filter\
**Created:** [December 21, 2023, 10:07am UTC](https://community.weweb.io/t/how-to-get-output-as-the-reponse-while-using-reuseable-component/6044 "2023-12-21T10:07:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://community.weweb.io/u/eric)\
**Post date:** [December 21, 2023, 10:07am UTC](https://community.weweb.io/t/how-to-get-output-as-the-reponse-while-using-reuseable-component/6044/1 "2023-12-21T10:07:20Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [December 21, 2023, 10:51am UTC](https://community.weweb.io/t/how-to-get-output-as-the-reponse-while-using-reuseable-component/6044/2 "2023-12-21T10:51:41Z")

</div>

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](https://community.weweb.io/t/trigger-component/5766/12).

There is an alternative method that requires a bit of code and uses a different approach. I made a tutorial [here](https://community.weweb.io/t/components-some-advice-on-components/5849/11)

---

<div class="post-metadata">

**Author:** ![aurelie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/aurelie/32/13249_2.png) [@aurelie](https://community.weweb.io/u/aurelie)\
**Post date:** [December 21, 2023, 10:59am UTC](https://community.weweb.io/t/how-to-get-output-as-the-reponse-while-using-reuseable-component/6044/3 "2023-12-21T10:59:48Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://community.weweb.io/u/eric)\
**Post date:** [December 21, 2023, 4:53pm UTC](https://community.weweb.io/t/how-to-get-output-as-the-reponse-while-using-reuseable-component/6044/4 "2023-12-21T16:53:02Z")

</div>

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