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

28 lines
811 B
HTML
Raw Normal View History

2017-06-29 17:23:27 -04:00
{% import "lib/directiveHelpers.html" as directiveHelper -%}
{% extends 'class.template.html' -%}
{% block overview %}{% endblock %}
{% block details -%}
{% include "includes/ngmodule.html" %}
{% include "includes/selectors.html" %}
2017-06-29 17:23:27 -04:00
{$ directiveHelper.renderBindings(doc.inputs, 'inputs', 'input', 'Inputs') $}
2017-06-29 17:23:27 -04:00
{$ directiveHelper.renderBindings(doc.outputs, 'outputs', 'output', 'Outputs') $}
{% include "includes/export-as.html" %}
{% if doc.description or doc.usageNotes %}
<section class="description">
<h2>Description</h2>
{$ (doc.description or '') | trimBlankLines | marked $}
{$ (doc.usageNotes or '') | trimBlankLines | marked $}
</section>
{% endif %}
<h2>Class</h2>
{% include "includes/class-members.html" %}
{% endblock %}
{% block endNotes %}{% endblock %}