Adventures in Angular cover image

Angular Structural Directives and Their Microsyntax - AiA 374

Adventures in Angular

00:00

Angular's Structured Directive Micro Syntax

The last thing that you can have in the structural directive micro syntax is a local binding. So when you use NGIF condition as value, that becomes an NG template with the NGF directive pointed to condition and a variable declaration in the NG template called let value pointing to the value of NGF. And that's how you can type less and have directors which automatically create NG templates. Right? Cool stuff. Yeah. I mean, I watched your video. So it makes sense in my head, right? Because I can follow along. But yeah, I mean, and you showed this for like NG4, right? You had another expression like this. And yeah, effectively what it did

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app