angular-docs-cn/aio/tools/transforms/templates/api/enum.template.html

14 lines
440 B
HTML

{% import "lib/memberHelpers.html" as memberHelpers -%}
{% extends 'export-base.template.html' -%}
{% block details %}
<section class="enum-overview">
<code-example language="ts" hideCopy="true">
enum {$ doc.name $} {{$ memberHelpers.renderMembers(doc) $}
}
</code-example>
</section>
{% include "includes/description.html" %}
{$ memberHelpers.renderProperties(doc.properties, 'members', 'member', 'Members', ['Member']) $}
{% endblock %}