2018-09-19 16:25:30 -04:00
|
|
|
{% import "lib/memberHelpers.html" as memberHelpers -%}
|
2017-05-02 10:08:49 -04:00
|
|
|
{% extends 'class.template.html' -%}
|
|
|
|
|
2018-09-20 07:57:34 -04:00
|
|
|
{% macro renderAncestorMembers(doc, collectionName) %}
|
|
|
|
{%- for ancestor in doc.extendsClauses %}{% if ancestor.doc %}
|
|
|
|
{% set nonInternalMembers = ancestor.doc[collectionName] | filterByPropertyValue('internal', undefined) %}
|
|
|
|
{% if nonInternalMembers.length -%}
|
|
|
|
<section class="inherited-members-list">
|
|
|
|
<h3>Inherited from <code>{$ ancestor.doc.id $}</code></h3>
|
|
|
|
<ul>
|
|
|
|
{% for member in nonInternalMembers %}
|
|
|
|
<li>
|
|
|
|
<code><a class="code-anchor" href="{$ ancestor.doc.path $}#{$ member.anchor | urlencode $}">{$ memberHelpers.renderMemberSyntax(member, 1) $}</a></code>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
{% endif %}
|
|
|
|
{$ renderAncestorMembers(ancestor.doc, collectionName) $}
|
|
|
|
{% endif %}{% endfor -%}
|
|
|
|
{% endmacro %}
|
|
|
|
|
|
|
|
{% macro renderProperties(doc, heading) %}
|
|
|
|
{$ memberHelpers.renderProperties(doc.properties, 'instance-properties', 'instance-property', heading) $}
|
|
|
|
{$ renderAncestorMembers(doc, 'properties') $}
|
|
|
|
{% endmacro %}
|
|
|
|
|
2018-08-31 10:57:53 -04:00
|
|
|
{% block overview %}{% endblock %}
|
|
|
|
|
|
|
|
{% block details -%}
|
|
|
|
{% include "includes/ngmodule.html" %}
|
|
|
|
{% include "includes/selectors.html" %}
|
|
|
|
|
2018-09-20 07:57:34 -04:00
|
|
|
{$ renderProperties(doc, 'Properties') $}
|
2018-08-31 10:57:53 -04:00
|
|
|
|
2017-05-02 10:08:49 -04:00
|
|
|
{% include "includes/export-as.html" %}
|
2018-08-31 10:57:53 -04:00
|
|
|
|
|
|
|
{% if doc.description or doc.usageNotes %}
|
|
|
|
<section class="description">
|
|
|
|
<h2>Description</h2>
|
|
|
|
{$ (doc.description or '') | trimBlankLines | marked $}
|
|
|
|
{$ (doc.usageNotes or '') | trimBlankLines | marked $}
|
|
|
|
</section>
|
|
|
|
{% endif %}
|
|
|
|
|
2018-09-19 16:25:30 -04:00
|
|
|
{$ memberHelpers.renderProperties(doc.staticProperties, 'static-properties', 'static-property', 'Static properties') $}
|
|
|
|
{$ memberHelpers.renderMethodDetails(versionInfo, doc.staticMethods, 'static-methods', 'static-method', 'Static methods') $}
|
|
|
|
{$ memberHelpers.renderMethodDetails(versionInfo, doc.methods, 'instance-methods', 'instance-method', 'Methods') $}
|
2018-09-20 07:57:34 -04:00
|
|
|
{$ renderAncestorMembers(doc, 'methods') $}
|
2018-09-19 16:25:30 -04:00
|
|
|
{% endblock %}
|
2017-09-11 08:55:52 -04:00
|
|
|
|
2018-08-31 10:57:53 -04:00
|
|
|
{% block endNotes %}{% endblock %}
|