Pete Bacon Darwin 62aca30286 feat(docs-infra): add support for "special elements" (#41299)
This commit adds support for generating pages that document
special Angular elements, such as `ng-content` and `ng-template`,
which have special behavior in Angular but are not directives nor
components.

Resolves #41273

PR Close #41299
2021-06-16 14:01:16 -07:00

22 lines
503 B
HTML

{%- if doc.attributes %}
<section class="element-attributes">
<h2>Attributes</h2>
<table class="is-full-width list-table">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{%- for attribute in doc.attributes %}
<tr class="element-attribute">
<td><code>{$ attribute.name $}</code></td>
<td>{$ attribute.description | marked $}</td>
</tr>
{% endfor %}
</tbody>
</table>
</section>
{% endif %}