angular/aio/content/special-elements
Matthieu Riegler 019c2d2f14 docs: selector precisions (#50534)
This commit fixes the layout of the page and adds a precision on what selectors are supported by ng-content

See #50511

PR Close #50534
2023-06-01 08:43:59 -07:00
..
core docs: selector precisions (#50534) 2023-06-01 08:43:59 -07:00
README.md docs(docs-infra): fix minor typos in angular.io (#47295) (#47295) 2022-09-07 10:47:21 -07:00

Special Elements

Each subdirectory below this contains documentation that describes "special elements". These are elements that can appear in templates that have special meaning and behaviour in the Angular framework.

Each element should have a markdown file with the same file name as the element's tag name for example, `ng-container.md`. The file should be stored in a directory whose name is that of the Angular package under which this element should appear in the docs usually `core`.

Short description

The file should contain a "short description" of the element. This is the first paragraph in the file.

Long description

All the paragraphs after the short description are collected as an additional longer description.

Element attributes

If the special element accepts one or more attributes that have special meaning to Angular, then these should be documented using the @elementAttribute tag. These tags should come after the description.

The format of this tag is:

@elementAttribute attr="value"

Description of the attribute and value.

@reviewed 2022-02-28