Angular University πŸ…°οΈ (@angularuniv) 's Twitter Profile
Angular University πŸ…°οΈ

@angularuniv

High-quality Angular Courses. Learn and keep up with the Angular Ecosystem. Helpdesk: [email protected]

ID: 712271636305674240

linkhttps://angular-university.io calendar_today22-03-2016 13:36:06

7,7K Tweet

7,7K Followers

1,1K Following

Angular University πŸ…°οΈ (@angularuniv) 's Twitter Profile Photo

πŸš€ Angular has a cleaner way to manage template conditions with the @switch syntax! πŸŽ‰ It's an intuitive alternative to ngSwitch for rendering template sections based on an expression's value. Here's a quick example: @switch (color) { @case ("red") { <div>Red</div> } @case

πŸš€ Angular has a cleaner way to manage template conditions with the @switch syntax! 

πŸŽ‰ It's an intuitive alternative to ngSwitch for rendering template sections based on an expression's value.

Here's a quick example:

@switch (color) {
@case ("red") {
&lt;div&gt;Red&lt;/div&gt;
}
@case