Files

14 lines
463 B
HTML
Raw Permalink Normal View History

{%- if doc.decorators.length %}
<section class="annotations">
<h2>Annotations</h2>
{%- for decorator in doc.decorators %}
<code-example language="ts" hideCopy="true" class="no-box api-heading{% if decorator.deprecated %} deprecated-api-item{% endif %}">@{$ decorator.name $}({$ decorator.arguments $})</code-example>
{%- if not decorator.notYetDocumented %}
{$ decorator.description | marked $}
{%- endif %}
{%- endfor %}
</section>
{%- endif -%}