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
[WIP]docs: add documentation for ngNonBindable #28577
Conversation
|
||
## `ngNonBindable` | ||
|
||
The built-in attribute directive `ngNonBindable` allows you to render code in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ngNonBindable
is not a directive, but a template primitive like ng-template
and ng-content
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @trotyl. Would this be more accurate?
The built-in template primitive...
And do you think it works here in the attribute directives doc? EDIT: as in maybe it should go elsewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And maybe I should mention it looks like an attribute directive but isn't?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically I think it belongs to template syntax
, but I also prefer to having their own API entries for all keyword-based primitives (ng-template
, ng-container
, ng-content
, [ngNonBindable]
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @trotyl
Hey @brandonroberts and @jenniferfell what are your thoughts on where this ought to go?
7e959ca
to
b22e1d0
Compare
b22e1d0
to
68b823c
Compare
You can preview 9f94015 at https://pr28577-9f94015.ngbuilds.io/. |
You can preview 68b823c at https://pr28577-68b823c.ngbuilds.io/. |
68b823c
to
4c38646
Compare
You can preview 4c38646 at https://pr28577-4c38646.ngbuilds.io/. |
4c38646
to
301dbe8
Compare
You can preview 301dbe8 at https://pr28577-301dbe8.ngbuilds.io/. |
301dbe8
to
bba6c3c
Compare
You can preview bba6c3c at https://pr28577-bba6c3c.ngbuilds.io/. |
Holding this PR until Template Syntax PRs merge. Binding Syntax: #25561 After these are merged, Template Syntax will be separated into different docs. At that point, we can find the best place for this. |
@kapunahelewong all these pr has been merged so we can start merging this pr if you need any help please tell me. Or if I can work on this pr. |
Thank you, @ajitsinghkaler! If you'd like, you could take this PR over. It will still need to be reviewed by engineering and docs to make sure it's in accordance with what should be in the documentation about it as well as that it is technically correct. If you take it, please tag me and reference the PR and I will close this one out and refer to your PR. 🌈 EDIT: I won't be able to work on it for some time as I have other projects before it. |
Would love to please assign it to me |
Ng non bindable documentatioon was not presennt added documentation for ng non bindable Fixes angular#28577
Ng non bindable documentatioon was not presennt added documentation for ng non bindable Fixes angular#28577 angular#19497
ngNonBindable documentation was not present added documentation for ngNonBindable Fixes angular#28577 angular#19497
@kapunahelewong you can close this in favor of #36560 |
Very kind of you! Thanks a bunch, @ajitsinghkaler! |
No problem |
ngNonBindable documentation was not present added documentation for ngNonBindable Fixes angular#28577 angular#19497
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. |
ngNonBindable documentation was not present added documentation for ngNonBindable Fixes angular#28577 angular#19497
ngNonBindable documentation was not present, on docs site added documentation for ngNonBindable. With this template primitive, Angular won't evaluate expressions in elements. Fixes angular#28577 Fixes#19497
ngNonBindable documentation was not present, on docs site added documentation for ngNonBindable. With this template primitive, Angular won't evaluate expressions in elements. Fixes angular#28577 Fixes angular#19497
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number:
Closes #19497
What is the new behavior?
A new short section in Attribute Binding explaining
ngNonBindable
and an addition to the Attribute Binding example to demo it.Does this PR introduce a breaking change?
Other information