reflex icon indicating copy to clipboard operation
reflex copied to clipboard

Post message to Iframe

Open alq-eium opened this issue 1 year ago β€’ 1 comments

Hello! I have successfully embedded an iframe on a parent window using rx.el.Iframe. I would like to interact with the content of the iframe from the parent window, for example, pushing a button. What is the best way to do that?

alq-eium avatar Nov 18 '24 16:11 alq-eium

up!

bdjafer avatar May 07 '25 20:05 bdjafer

you can do rx.Var('javascript_code_here').to(rx.EventChain) and call it on any event

adhami3310 avatar May 17 '25 02:05 adhami3310

Thank you @adhami3310 !!

alq-eium avatar May 19 '25 06:05 alq-eium