103. Building a Structural Directive
6:14
2 Сөйләүчеләр
2 Бөлүмнәр
133 сегментлар
Сөйләүчеләр
Бөлүмнәр
-
0:02Гыйбрәт 1: Now that we understood what the role of the star is, we can write our own structural directive. 303s · Speaker 2
Now that we understood what the role of the star is, we can write our own structural directive. So let's create a new directive and I will use the CLI for this. I will name it UNLESS. So I will basically create the opposite of the NGIF dire…
-
5:05
the unless directive will check for the opposite already. So here we have to pass just only odd. And with this in place, we get that we can't bind to app unless because it's not a known property. Why do we get this? can be really hard to tr…