Message 1 of 2
How to get a mouse wheel event listener on the Forma canvas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Forma team,
In our extension we provide geographical images as a terrain in a Forma project.
However the need arose where the image must be of higher resolution as the user zooms in a specific area.
This feature therefore could be implemented if through our extension we could listen to a mouse wheel event and update the appropriate texture in our canvas, but this is not yet possible since we are in an iframe and cannot listen to mouse events outside it.
It would be helpful if we could listen to forma main window DOM events like wheel event and have a communication between the window and the extension in order for this crucial upgrade feature to be achieved.
Thanks in advance
