New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The structural directive type check docs section is incomplete #40739
Comments
The fact that angular/aio/content/guide/structural-directives.md Lines 876 to 893 in d067dc0
I suspect that the angle brackets need to be converted into html entities. |
Yes, the brackets need to be HTML-escaped. Yet another case where hard-coded code snippets don't serve us well 😛 |
👍 to doc regions. Of course if the code was in backticks then the code would be escaped but not in |
You'll want to use |
If anyone is already not working on it, I can give it a try to create a PR converting these to |
This is not working https://stackblitz.com/edit/angular-bwvsh3 |
The example in the docs is only concerning the type-check capabilities of the directive, its actual runtime implementation of rendering its template when in the |
@JoostK switched to |
I want to help and create a PR. @JoostK the documentation (https://angular.io/guide/structural-directives#directive-type-checks) says
So I don't understand why ist |
Hi @ArielGueta! |
This commit adds a full example for the IfLoadedDirective and moves the code to the StackBlitz playground for structural directives. Fixes angular#40739, angular#37119
This commit adds a full example for the IfLoadedDirective and moves the code to the StackBlitz playground for structural directives. Fixes angular#40739, angular#37119
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The following docs section is incomplete:
https://angular.io/guide/structural-directives#directive-type-checks
T
comes from?Person
interface?The text was updated successfully, but these errors were encountered: