Is it possible to update angularjs expressions inside of an iframe?

前端 未结 2 2061
一生所求
一生所求 2020-12-09 13:17

So...for example, I am trying to pull in an email \"template\" into an iframe as a \"preview\" for the user inside of an angularjs app. The iframe lives inside of the contr

2条回答
  •  生来不讨喜
    2020-12-09 14:05

    From the standpoint of the browser there is nothing special about angular - this is javascript, that's all that matters. So I would say the answer to your questions is - yes, it should work.

    Of course the constrains of the same origin policy will apply. Also asynchronicity may present some problems, but other than that it just should work

提交回复
热议问题