How to navigate pages in Figma embed with javascript code?

There are a few websites having Figma embed on a page and load all the nodes with ids into their page. So when a user clicks a node on the parent page, not the embed iframe itself, then the embed iframe changes to show the clicked node page on the iframe like a magic.

I am wondering how to do that… I’ve searched windows.postMessage() but not sure what msg should I send to the embed iframe.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.