I can’t add interactions on the component instance layer in the component, but I see in the March 2023 YouTube video that it is possible, am I missing something?
The video: https://www.youtube.com/watch?v=t_THpeqi6Ts
My file:
I can’t add interactions on the component instance layer in the component, but I see in the March 2023 YouTube video that it is possible, am I missing something?
The video: https://www.youtube.com/watch?v=t_THpeqi6Ts
My file:
Hi, sorry that video is out of date. We used to always expose an on-click interaction for any component, but that was inadvertent. Now, to expose an on-click interaction, first select the element inside the component that you want to expose the interaction of, add an empty onclick interaction if it’s not already shown, and then right click the interaction to link it as a prop on the component. Please let me know if that makes sense.
Yes, it worked.