{% extends 'base.template.html' -%} {% macro listItems(items, title, originalTitle, 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', '#primary-entry-point-exports') $} {$ listItems(doc.packageInfo.secondary, '次要', 'secondary') $} {% endif %} {% if doc.isPrimaryPackage %}

主入口点的导出

{% else %}

入口点的导出

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