阅读背景:

如果在元素中使用ng-if,则getElementByID在角度上不起作用

来源:互联网 

I have a paragraph element in html. The element is visible only if a value is true.I have used ng-if to check that. I am trying to access the element through getElementByID but it returns null.I have a paragraph element in html. The element




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: