How to change the cursor dynamically

Dear support,

I’m trying to change the cursor appearance when the mouse is moving above the webViewer area. I’m wondering if it is possible.

I’m trying to do things like that, but it does not work…

I thank to you in advance !
Best Regards,

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hey!

Express is mounted in an iframe so you need to listen to the iframes window instead of the root window

  instance.UI.iframeWindow.addEventListener('mousemove', () => {
    instance.UI.iframeWindow.document.body.style.cursor = 'crosshair'
  })

Logan