13,721 questions
postMessage to preview link item
Kandadai, Shravani
0
Reputation points
I'm using preview item endpoint to generate a temporary link to a drive item which I'm showing on my app in an iframe mounted to a dialog modal. Now, my requirement is to know user interactions on the iframe content (basically JS events link touchmove, scroll etc) So that if there are no such interactions over a period of time, I need to close the dialog modal automatically. May I know if there are any postMessages that I can send to the preview link to detect such interactions?
Microsoft Security Microsoft Graph
Sign in to answer