Skip to main content

Command Palette

Search for a command to run...

Angular : How to use multiple conditions with ngIf

Published
1 min read
S

I love learning about technology and sharing that with others

Here we want to show something when some conditions is true.

here of the selectedTab is live or Archive we wants to show some content

  <li class="treeview" *ngIf="selectedTab==='Live' ||  selectedTab==='Archive'">
6 views

More from this blog

H

hashcodehub

271 posts

Consistent, Passionate and Organized :)