2015-09-16 02:21:55 -04:00
|
|
|
{% 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') $}
|
2015-11-03 07:31:01 -05:00
|
|
|
|
2016-06-01 10:33:38 -04:00
|
|
|
{% include "layout/_what-it-does.html" %}
|
2015-11-17 02:10:18 -05:00
|
|
|
|
2016-06-01 10:33:38 -04:00
|
|
|
{% include "layout/_security-notes.html" %}
|
|
|
|
|
|
|
|
{% include "layout/_deprecated-notes.html" %}
|
|
|
|
|
|
|
|
{% include "layout/_how-to-use.html" %}
|
2015-09-30 04:13:23 -04:00
|
|
|
|
2016-06-01 10:33:38 -04:00
|
|
|
div(layout="row" layout-xs="column" class="ng-cloak")
|
2016-04-19 13:18:38 -04:00
|
|
|
div(flex="20" flex-xs="100")
|
|
|
|
h2(class="h2-api-docs") Class Overview
|
|
|
|
div(flex="80" flex-xs="100")
|
2016-04-27 11:47:01 -04:00
|
|
|
code(class="no-bg api-doc-code openParens") class {$ doc.name $} {
|
2016-04-19 13:18:38 -04:00
|
|
|
|
|
|
|
{% if doc.statics.length %}
|
2016-06-01 10:33:38 -04:00
|
|
|
div(layout="column")
|
2016-04-19 13:18:38 -04:00
|
|
|
{% for member in doc.statics %}{% if not member.internal %}
|
2016-04-22 17:03:34 -04:00
|
|
|
pre(class="prettyprint no-bg-with-indent")
|
2016-04-19 13:18:38 -04:00
|
|
|
a(class="code-anchor" href="#{$ member.name $}-anchor")
|
2016-04-20 17:23:25 -04:00
|
|
|
code(class="code-background api-doc-code") {$ member.name | indent(6, false) | trim $}
|
|
|
|
code(class="api-doc-code") {$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
|
2016-04-19 13:18:38 -04:00
|
|
|
{% endif %}{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% if doc.constructorDoc.name %}
|
2016-06-01 10:33:38 -04:00
|
|
|
div(layout="column")
|
2016-04-19 13:18:38 -04:00
|
|
|
pre(class="prettyprint no-bg-with-indent")
|
|
|
|
a(class="code-anchor" href="#constructor")
|
2016-04-20 17:23:25 -04:00
|
|
|
code(class="code-background api-doc-code") {$ doc.constructorDoc.name $}
|
2016-06-14 01:40:05 -04:00
|
|
|
code(class="api-doc-code").
|
|
|
|
{$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
|
2016-04-19 13:18:38 -04:00
|
|
|
{% endif %}
|
|
|
|
{% if doc.members.length %}
|
2016-06-01 10:33:38 -04:00
|
|
|
div(layout="column")
|
2016-04-19 13:18:38 -04:00
|
|
|
{% for member in doc.members %}{% if not member.internal %}
|
|
|
|
pre(class="prettyprint no-bg-with-indent")
|
|
|
|
a(class="code-anchor" href="#{$ member.name $}-anchor")
|
2016-04-20 17:23:25 -04:00
|
|
|
code(class="code-background api-doc-code") {$ member.name | indent(6, false) | trim $}
|
|
|
|
code(class="api-doc-code") {$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
|
2016-04-19 13:18:38 -04:00
|
|
|
{% endif %}{% endfor %}
|
|
|
|
{% endif %}
|
2016-04-27 11:47:01 -04:00
|
|
|
p(class="selector endParens")
|
2016-04-20 17:23:25 -04:00
|
|
|
code(class="api-doc-code no-bg") }
|
2016-04-19 13:18:38 -04:00
|
|
|
|
2015-09-30 04:13:23 -04:00
|
|
|
{% block additional %}
|
|
|
|
{% endblock %}
|
2015-09-16 02:21:55 -04:00
|
|
|
|
2016-06-01 10:33:38 -04:00
|
|
|
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
|
2016-04-07 12:54:24 -04:00
|
|
|
div(flex="20" flex-xs="100")
|
2016-04-19 13:18:38 -04:00
|
|
|
h2(class="h2-api-docs") Class Description
|
2016-04-22 17:13:05 -04:00
|
|
|
div(class="code-links" flex="80" flex-xs="100")
|
2016-04-07 12:54:24 -04:00
|
|
|
:marked
|
|
|
|
{%- if doc.description.length > 2 %}
|
|
|
|
{$ doc.description | indentForMarkdown(6) | trimBlankLines $}
|
|
|
|
{% endif %}
|
|
|
|
|
2016-06-01 10:33:38 -04:00
|
|
|
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
|
2016-04-07 12:54:24 -04:00
|
|
|
div(flex="20" flex-xs="100")
|
2016-04-19 13:18:38 -04:00
|
|
|
h2(class="h2-api-docs") Class Export
|
2016-04-07 12:54:24 -04:00
|
|
|
div(flex="80" flex-xs="100")
|
|
|
|
pre.prettyprint.no-bg
|
2016-04-20 17:23:25 -04:00
|
|
|
code(class="api-doc-code no-pln").
|
2016-04-07 12:54:24 -04:00
|
|
|
export {$ doc.docType $} {$ doc.name $}
|
|
|
|
|
2015-11-03 07:26:56 -05:00
|
|
|
{%- if doc.decorators.length %}
|
2016-04-07 12:54:24 -04:00
|
|
|
{% block annotations %}
|
2016-06-01 10:33:38 -04:00
|
|
|
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
|
2016-04-07 12:54:24 -04:00
|
|
|
div(flex="20" flex-xs="100")
|
2016-04-19 13:18:38 -04:00
|
|
|
h2(class="h2-api-docs") Annotations
|
2016-04-07 12:54:24 -04:00
|
|
|
div(flex="80" flex-xs="100")
|
|
|
|
{%- for decorator in doc.decorators %}
|
|
|
|
pre.prettyprint.no-bg
|
2016-04-20 17:23:25 -04:00
|
|
|
code(class="api-doc-code")
|
2016-04-07 12:54:24 -04:00
|
|
|
@{$ decorator.name $}{$ paramList(decorator.arguments) | indent(10, false) $}
|
|
|
|
:marked
|
2016-04-27 11:47:01 -04:00
|
|
|
{%- if not decorator.notYetDocumented %}
|
2016-04-07 12:54:24 -04:00
|
|
|
{$ decorator.description | indentForMarkdown(8) | trimBlankLines $}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2015-11-13 06:40:00 -05:00
|
|
|
{% endblock %}
|
2016-04-07 12:54:24 -04:00
|
|
|
{% endif %}
|
2015-09-16 02:21:55 -04:00
|
|
|
|
2015-11-13 06:56:44 -05:00
|
|
|
{%- if doc.constructorDoc and not doc.constructorDoc.internal %}
|
2016-06-01 10:33:38 -04:00
|
|
|
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
|
2016-04-07 12:54:24 -04:00
|
|
|
div(flex="20" flex-xs="100")
|
2016-04-19 13:18:38 -04:00
|
|
|
h2(class="h2-api-docs") Constructor
|
2016-04-07 12:54:24 -04:00
|
|
|
div(flex="80" flex-xs="100")
|
2016-04-19 13:18:38 -04:00
|
|
|
a(name="constructor" class="anchor-offset")
|
|
|
|
pre(class="prettyprint no-bg" ng-class="{ 'anchor-focused': appCtrl.isApiDocMemberFocused('{$ doc.constructorDoc.name $}') }")
|
2016-04-20 17:23:25 -04:00
|
|
|
code(class="api-doc-code").
|
2016-04-07 12:54:24 -04:00
|
|
|
{$ doc.constructorDoc.name $}{$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
|
2015-11-10 13:31:46 -05:00
|
|
|
:marked
|
2016-04-27 11:47:01 -04:00
|
|
|
{%- if not doc.constructorDoc.notYetDocumented %}
|
2016-04-07 12:54:24 -04:00
|
|
|
{$ doc.constructorDoc.description | indentForMarkdown(6) | replace('### Example', '') | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
|
|
|
|
{% endif %}
|
2015-11-13 07:05:16 -05:00
|
|
|
{% endif %}
|
2015-09-16 02:21:55 -04:00
|
|
|
|
2016-04-07 12:54:24 -04:00
|
|
|
{% if doc.statics.length %}
|
2016-06-01 10:33:38 -04:00
|
|
|
div(layout="row" layout-xs="column" class="row-margin ng-cloak")
|
2016-04-07 12:54:24 -04:00
|
|
|
div(flex="20" flex-xs="100")
|
2016-04-19 13:18:38 -04:00
|
|
|
h2(class="h2-api-docs") Static Members
|
2016-04-22 17:13:05 -04:00
|
|
|
div(class="code-links" flex="80" flex-xs="100")
|
2016-04-07 12:54:24 -04:00
|
|
|
{% for member in doc.statics %}{% if not member.internal %}
|
2016-04-22 17:03:34 -04:00
|
|
|
a(name="{$ member.name $}-anchor" class="anchor-offset")
|
|
|
|
pre(class="prettyprint no-bg" ng-class="{ 'anchor-focused': appCtrl.isApiDocMemberFocused('{$ member.name $}') }")
|
2016-04-20 17:23:25 -04:00
|
|
|
code(class="api-doc-code").
|
2016-04-07 12:54:24 -04:00
|
|
|
{$ member.name $}{$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
|
2016-01-28 05:51:54 -05:00
|
|
|
:marked
|
2016-04-27 11:47:01 -04:00
|
|
|
{%- if not member.notYetDocumented %}
|
2016-04-22 17:03:34 -04:00
|
|
|
{$ member.description | indentForMarkdown(6) | replace('### Example', '') | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
|
2016-01-28 05:51:54 -05:00
|
|
|
{% endif %}
|
|
|
|
|
2016-04-07 12:54:24 -04:00
|
|
|
{% if not loop.last %}
|
|
|
|
.hr(class="hr-margin")
|
|
|
|
{% endif %}
|
2016-01-28 05:51:54 -05:00
|
|
|
|
2016-04-07 12:54:24 -04:00
|
|
|
{% endif %}{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if doc.members.length %}
|
2016-06-01 10:33:38 -04:00
|
|
|
div(layout="row" layout-xs="column" class="instance-members" class="row-margin ng-cloak")
|
2016-04-07 12:54:24 -04:00
|
|
|
div(flex="20" flex-xs="100")
|
2016-04-19 13:18:38 -04:00
|
|
|
h2(class="h2-api-docs") Class Details
|
2016-04-25 14:22:24 -04:00
|
|
|
div(class="code-links" flex="80" flex-xs="100")
|
2016-04-07 12:54:24 -04:00
|
|
|
{% for member in doc.members %}{% if not member.internal %}
|
2016-04-19 13:18:38 -04:00
|
|
|
a(name="{$ member.name $}-anchor" class="anchor-offset")
|
|
|
|
pre(class="prettyprint no-bg" ng-class="{ 'anchor-focused': appCtrl.isApiDocMemberFocused('{$ member.name $}') }")
|
2016-04-20 17:23:25 -04:00
|
|
|
code(class="api-doc-code").
|
2016-04-07 12:54:24 -04:00
|
|
|
{$ member.name $}{$ paramList(member.parameters) | indent(8, false) | trim $}{$ returnType(member.returnType) $}
|
2015-09-16 02:21:55 -04:00
|
|
|
|
2015-11-10 13:31:46 -05:00
|
|
|
:marked
|
2016-04-27 11:47:01 -04:00
|
|
|
{%- if not member.notYetDocumented %}
|
2016-04-07 12:54:24 -04:00
|
|
|
{$ member.description | indentForMarkdown(6) | replace('### Example', '') | replace('## Example', '') | replace('# Example', '') | trimBlankLines $}
|
|
|
|
{% endif -%}
|
|
|
|
|
|
|
|
{% if not loop.last %}
|
|
|
|
.hr(class="hr-margin")
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
|
2016-05-19 15:56:30 -04:00
|
|
|
p(class="location-badge").
|
2016-04-07 12:54:24 -04:00
|
|
|
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
|
|
|
|
defined in {$ githubViewLink(doc) $}
|
2015-09-16 02:21:55 -04:00
|
|
|
|
|
|
|
{% endblock %}
|