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

33 lines
911 B
HTML
Raw Normal View History

{% import "lib/memberHelpers.html" as memberHelpers -%}
{% import "lib/paramList.html" as params -%}
{% extends 'export-base.template.html' -%}
{% block overview %}
{% if doc.overloads.length > 0 and doc.overloads < 3 -%}
{% for overload in doc.overloads -%}
{$ memberHelpers.renderOverloadInfo(overload, 'function-overload', doc) $}
{% if not loop.last %}<hr class="hr-margin fullwidth">{% endif %}
{% endfor -%}
{% else %}
{$ memberHelpers.renderOverloadInfo(doc, 'function-overload', doc) $}
{% endif %}
{% endblock %}
{% block details %}
2017-07-12 18:06:02 -04:00
{% include "includes/description.html" %}
{% if doc.overloads.length >= 3 %}
<section class="overloads">
<h2>Overloads</h2>
<table>
{% for overload in doc.overloads %}
<tr>
<td>
{$ memberHelpers.renderOverloadInfo(overload, 'function-overload', doc) $}
</td>
</tr>
{% endfor %}
</table>
</section>
2017-06-29 17:23:27 -04:00
{% endif %}
{% endblock %}