{% extends 'base.template.html' -%} {% macro listItems(items, title, overridePath) %} {% set filteredItems = items | filterByPropertyValue('internal', undefined) %} {% if filteredItems.length %}

{$ title $}

{% for item in filteredItems %} {% endfor %}
{$ item.name $} {% if item.deprecated !== undefined %}{$ ('**已废弃:** ' + item.deprecated) | marked $}{% endif %} {% if item.shortDescription %}{$ item.shortDescription | marked $}{% endif %}
{% endif %} {% endmacro %} {% block header %}

{$ doc.name $}

{% if doc.packageDeprecated or (not doc.isPrimaryPackage and doc.deprecated !== undefined) %}{% endif %} {% if doc.security !== undefined %}{% endif %} {% if doc.pipeOptions.pure === 'false' %}{% endif %}
{% endblock %} {% block body -%} {$ doc.shortDescription | marked $} {% if doc.description %}{$ doc.description | marked $}{% endif %} {% include "includes/see-also.html" %} {% if doc.isPrimaryPackage %}

入口点

{$ listItems([doc.packageInfo.primary], '主要', '#primary-entry-point-exports') $} {$ listItems(doc.packageInfo.secondary, '次要') $} {% endif %} {% if doc.isPrimaryPackage %}

主入口点的导出

{% else %}

入口点的导出

{% endif %} {% include "includes/deprecation.html" %} {$ listItems(doc.ngmodules, '模块') $} {$ listItems(doc.classes, '类') $} {$ listItems(doc.decorators, '装饰器') $} {$ listItems(doc.functions, '函数') $} {$ listItems(doc.structures, '结构') $} {$ listItems(doc.directives, '指令') $} {$ listItems(doc.pipes, '管道') $} {$ listItems(doc.types, '类型') $} {%- endblock %}