angular-cn/tools/api-builder/angular.io-package/templates/function.template.html

23 lines
681 B
HTML
Raw Normal View History

{% include "lib/githubLinks.html" -%}
{% include "lib/paramList.html" -%}
{% extends 'layout/base.template.html' -%}
{% block body %}
2015-12-01 18:31:36 -05:00
include {$ relativePath(doc.path, '_util-fns') $}
.l-main-section
h2(class="function export")
pre.prettyprint
code.
export {$ doc.name $}{$ paramList(doc.parameters) | indent(8, true) | trim $}{$ returnType(doc.returnType) $}
p.location-badge.
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
defined in {$ githubViewLink(doc) $}
:marked
{%- if doc.notYetDocumented %}
*Not Yet Documented*
{% else %}
2015-09-17 20:51:32 -04:00
{$ doc.description | indentForMarkdown(4) | trimBlankLines $}
{% endif %}
{% endblock %}