{% import "lib/memberHelpers.html" as memberHelpers -%}
{% import "lib/descendants.html" as descendants -%}
{% import "lib/paramList.html" as params -%}
{% extends 'export-base.template.html' -%}
{% macro renderTable(items, containerClass, headingText, tableHeading) %}
{$ headingText $}
{$ tableHeading $} |
{% for item in items %}
{$ item | escape $}
|
{% endfor %}
{% endmacro %}
{% macro renderExports(items, cssClass, itemType) %}
{$ itemType $}
Name | Description |
{% for item in items %}
{$ item.name | escape $}
|
{% if item.deprecated !== undefined %}{$ ('**Deprecated:** ' + item.deprecated) | marked $}{% endif %}
{$ item.shortDescription | marked $}
|
{% endfor %}
{% endmacro %}
{% block overview %}
{% include "includes/class-overview.html" %}
{% endblock %}
{% block details %}
{% block additional %}{% endblock %}
{% include "includes/description.html" %}
{$ memberHelpers.renderProperties(doc.staticProperties, 'static-properties', 'static-property', 'Static properties') $}
{$ memberHelpers.renderMethodDetails(versionInfo, doc.staticMethods, 'static-methods', 'static-method', 'Static methods') $}
{% if doc.constructorDoc %}
Constructor
{$ memberHelpers.renderMethodDetail(versionInfo, doc.constructorDoc, 'constructor') $}{% endif %}
{$ memberHelpers.renderProperties(doc.properties, 'instance-properties', 'instance-property', 'Properties') $}
{$ memberHelpers.renderMethodDetails(versionInfo, doc.methods, 'instance-methods', 'instance-method', 'Methods') $}
{% if doc.ngmoduleOptions.providers %}
{$ renderTable(doc.ngmoduleOptions.providers, 'providers', 'Providers', 'Provider') $}
{% endif %}
{% if doc.directives.length %}
{$ renderExports(doc.directives, 'directive', 'Directives') $}
{% endif %}
{% if doc.pipes.length %}
{$ renderExports(doc.pipes, 'pipe', 'Pipes') $}
{% endif %}
{% endblock %}