2017-05-02 10:08:49 -04:00
|
|
|
{% import "lib/paramList.html" as params -%}
|
|
|
|
{% extends 'export-base.template.html' -%}
|
|
|
|
|
2017-07-13 08:36:51 -04:00
|
|
|
{% block overview %}
|
2017-07-12 18:06:02 -04:00
|
|
|
<code-example language="ts" hideCopy="true" class="no-box api-heading">
|
|
|
|
function {$ doc.name $}{$ params.paramList(doc.parameters) $}
|
|
|
|
{%- if doc.type %}: {$ doc.type | escape $}{% endif %};
|
|
|
|
</code-example>
|
2017-07-13 08:36:51 -04:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block details %}
|
2017-07-12 18:06:02 -04:00
|
|
|
{% include "includes/description.html" %}
|
|
|
|
{% if doc.overloads.length %}
|
2017-06-29 17:23:27 -04:00
|
|
|
<h2>Overloads</h2>{% for overload in doc.overloads %}
|
2017-07-12 18:06:02 -04:00
|
|
|
<code-example language="ts" hideCopy="true" class="no-box api-heading">
|
2017-06-29 17:23:27 -04:00
|
|
|
function {$ overload.name $}{$ params.paramList(overload.parameters) $}
|
|
|
|
{%- if overload.type %}: {$ overload.type | escape $}{% endif %};
|
|
|
|
</code-example>
|
|
|
|
<section class="description">
|
|
|
|
{$ overload.description | trimBlankLines | marked $}
|
|
|
|
</section>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2017-05-02 10:08:49 -04:00
|
|
|
{% endblock %}
|