65
A
回答
117
與多個參數的ng-if
這是可能的。
<span ng-if="checked && checked2">
I'm removed when the checkbox is unchecked.
</span>
2
是的,這是可能的。 例如結賬:
<div class="singleMatch" ng-if="match.date | date:'ddMMyyyy' === main.date && match.team1.code === main.team1code && match.team2.code === main.team2code">
//Do something here
</div>
3
爲人們尋找if語句有多個「或」值做。
<div ng-if="::(a || b || c || d || e || f)"><div>
相關問題
- 1. Angular 2-使用* ngIf有多個條件
- 2. Angular 2 ngFor和ngIf
- 3. Angular 2 ngIf和ngFor組合
- 4. Angular:使用帶* ngIf的類
- 5. Angular 2屬性和* ngIf
- 6. Angular 2 Conditional Loop with * ngIf
- 7. Angular combine ngIf和EventEmitter創建多個調用
- 8. 與多個參數
- 9. 與多個參數
- 10. Angular 2 - 具有行爲主體的多個參數?
- 11. 從Angular URL中提取多個參數
- 12. 單數組參數與多個參數
- 13. Plotly與ngIf
- 14. 參數化的sql與多個參數
- 15. Angular:使用* ngFor和* ngIf參照子元素中的索引值
- 16. 角度4:* ngIf與多重條件
- 17. Rails 3與多個參數
- 18. pd.apply(pd.Series.interpolate)與多個參數
- 19. arrayfunc與多個參數
- 20. RequestedMapping與多個參數
- 21. URL與多個參數
- 22. 的NSURLRequest與多個參數
- 23. 多個參數與htaccess
- 24. 哈希與多個參數?
- 25. prelude.ls |>與多個參數
- 26. 捕捉與多個參數
- 27. 如何通過TypeScript將多個參數傳遞給Angular @Directives?
- 28. ngIf是否接受布爾參數?
- 29. Angular 2 ngIf只顯示一秒
- 30. ngIf根據下拉值顯示 - Angular 2