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
22 lines
503 B
HTML
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 %}
|