Is it possible to set the focus of the view using the PostMessage API? #4326
Unanswered
reinoutkoninkx
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to use javascript PostMessage API on an embedded version of drawio inside an iframe to set the location where you are looking at the diagram?
Now it seems when using the load action it always goes to the top left, but I am looking for a way to give my own coordinates in the diagram, like 0, 0, or 538, 638.
Maybe a good idea for a feature for people using the load action a lot and dont want the focus to reset to the topleft everytime.
Thanks,
Reinout
Beta Was this translation helpful? Give feedback.
All reactions