Listening to a custom event triggered in a reusable element

Hi all.

I created a reusable element which I would like to use in a page, so that the page can “listen” to an event that is triggered from inside the reusable element, and then have a workflow in the page linked to that event triggered from the reusable.

Something similar to what happens when a page listens to the “clicked” event of a button and reacts to it, but with a custom event created in the reusable element.

Is this possible in Bubble?

Yes

You can have the reusable use a property or a custom state to hold onto a value that indicates the event from inside the reusable as occurred and completed and then on the page have a ‘conditional trigger’ with the condition referencing the reusable elements property or customs state value.

Hi.

That worked, thanks a lot.