Calling a custom javascript function from a webflow interaction

I see quite a few questions about calling an interaction from javascript but only one, which doesn’t seem to have ever been answered (https://discourse.webflow.com/t/callbacks-for-interactions/26715), which is about this functionality.

Keeping the question simple, all I want to do is be able to call a function when a trigger is actioned. Is there a way to do this?

1 Like

Just to clarify.

The function will be defined in a custom code block or in the page settings.

1 Like