I have a producer client action where I am using JavaScript to trigger a button on click action.
Now, in the consumer module, I am calling this client action and want to handle this button click action.
Is there any way to achieve this?
Hey @Vrushali Punekar would you please explain in bit more detail supported with some screenshots.
Hi @Vrushali Punekar ,
Not sure if this is your actual requirement, but this is what I understood.
Step1 - you can create one public client action, with this input parameter
Step 2- Consume this action in the consumer module and call that action on button click and then have one button (which will be hidden) which you want to get triggered with help of JS. assign a unique class name to that hidden button and send this class name to the client action in step1.