我如何在 iframe 中使用 ng-disable

How I can use ng-disable in a iframe

我在 iframe 中设置了 ng-disable 为 true,在 iframe 中我调用了一个包含文本区域的 html,但是即使 iframe 被禁用了这个控件我也可以毫无问题地访问它.

使用 angular 在 运行 时间内禁用和启用 iframe 中的 textarea 控件应该如何或做什么?

我认为 ng-disabled 只影响 INPUT 元素 如果您想禁用整个 Iframe 元素,您应该使用 ng-class 或 ng-show/ng-hide 并编写一个 cssClass 背景覆盖整个 Iframe 以防止点击。