我正在尝试开始 Angular 开发。在查看文档后,一些问题仍然存在。我如何最好地编写一个带有多个参数的 ng-if
对应于
if(a && b)
或 if(a || b)
最佳答案
这是可能的。
<span ng-if="checked && checked2">
I'm removed when the checkbox is unchecked.
</span>
关于javascript - 具有多个参数的 Angular ng-if ="",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18988198/