Does anybody know if it is possible to read and write the scroll position of the HTMLViewer (macOS and Windows)? Thanks.
You’ll want to use the recent additions to HTMLViewer for passing data back and forth. So you can do something like this:
scrollY values of the viewport.
If you then want to set the scroll positions, say, if
scrollX is greater than 0, you can follow that with:
Which will scroll the viewport back to (0,0).
Thanks a lot. It works perfectly.
Happy to help!