2016-09-09 07:47:20 -04:00
|
|
|
{% import "lib/githubLinks.html" as github -%}
|
|
|
|
{% import "lib/paramList.html" as params -%}
|
2015-12-15 05:43:43 -05:00
|
|
|
{% extends 'layout/base.template.html' %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
include {$ relativePath(doc.path, '_util-fns') $}
|
2016-04-25 17:28:45 -04:00
|
|
|
|
2016-06-01 10:33:38 -04:00
|
|
|
{% include "layout/_what-it-does.html" %}
|
|
|
|
|
|
|
|
{% include "layout/_security-notes.html" %}
|
|
|
|
|
|
|
|
{% include "layout/_deprecated-notes.html" %}
|
|
|
|
|
|
|
|
{% include "layout/_how-to-use.html" %}
|
|
|
|
|
|
|
|
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
|
2016-04-25 17:28:45 -04:00
|
|
|
div(flex="20" flex-xs="100")
|
2016-09-08 18:09:55 -04:00
|
|
|
h2(class="h2-api-docs") Description
|
2016-04-25 17:28:45 -04:00
|
|
|
div(class="code-links" flex="80" flex-xs="100")
|
|
|
|
:marked
|
2016-04-27 11:47:01 -04:00
|
|
|
{%- if not doc.notYetDocumented %}
|
2016-04-25 17:28:45 -04:00
|
|
|
{$ doc.description | indentForMarkdown(6) | trimBlankLines $}
|
|
|
|
{% endif %}
|
2015-12-15 05:43:43 -05:00
|
|
|
|
2016-09-08 18:09:55 -04:00
|
|
|
{% if doc.metadataDoc and doc.metadataDoc.members.length %}
|
|
|
|
div(layout="row" layout-xs="column" class="metadata" class="row-margin ng-cloak")
|
|
|
|
div(flex="20" flex-xs="100")
|
|
|
|
h2(class="h2-api-docs") Metadata Properties
|
|
|
|
div(class="code-links" flex="80" flex-xs="100")
|
|
|
|
{% for metadata in doc.metadataDoc.members %}{% if not metadata.internal %}
|
|
|
|
a(name="{$ metadata.name $}-anchor" class="anchor-offset")
|
|
|
|
pre(class="prettyprint no-bg" ng-class="{ 'anchor-focused': appCtrl.isApiDocMemberFocused('{$ metadata.name $}') }")
|
|
|
|
code(class="api-doc-code").
|
|
|
|
{$ metadata.name $}{$ params.paramList(metadata.parameters) | indent(8, false) | trim $}{$ params.returnType(metadata.returnType) $}
|
|
|
|
|
|
|
|
:marked
|
|
|
|
{%- if not metadata.notYetDocumented %}
|
|
|
|
{$ metadata.description | indentForMarkdown(6) | replace('### Example', '') | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
|
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
{% if not loop.last %}
|
|
|
|
.hr(class="hr-margin")
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
|
2016-04-25 17:28:45 -04:00
|
|
|
p.location-badge.
|
2016-09-14 02:50:02 -04:00
|
|
|
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } defined in {$ github.githubViewLink(doc, versionInfo) $}
|
2015-12-15 05:43:43 -05:00
|
|
|
|
|
|
|
{% endblock %}
|