Streaming live at 10am (PST)

Different interactions on same HTML element on different views

As per my question in: How to enable interaction on desktop view but disable for mobile view?

I was wondering if you could have an option to have different interactions on the same HTML element on different views. So for example on the ‘main-img’ div have one interaction for the desktop and tablet view, but then on the ‘main-img’ div have a different interaction on the mobile landscape and portrait views.

I know there’s a way this can be done through duplicating the HTML element, then hiding one for whichever views and attaching the different interactions to each one, but this is unnecessarily long and also very inefficient.

Hope this can be implemented - thanks for hearing me out!