Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 59a9c13

Browse files
oBuskgkalpak
authored andcommitted
docs(guide/production): add more info on debugInfoEnabled()
Add bullet mentioning how placeholder comments are affected. Closes #16155
1 parent 66dff7c commit 59a9c13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/content/guide/production.ngdoc

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ and adds CSS classes to data-bound elements:
2020
CSS class are attached to the corresponding element. These scope references can then be accessed via
2121
`element.scope()` and `element.isolateScope()`.
2222

23+
- Placeholder comments for structural directives will contain information about what directive
24+
and binding caused the placeholder. E.g. `<!-- ngIf: shouldShow() -->`.
25+
2326
Tools like [Protractor](https://github.com/angular/protractor) and
2427
[Batarang](https://github.com/angular/angularjs-batarang) need this information to run,
2528
but you can disable this in production for a significant performance boost with:

0 commit comments

Comments
 (0)