2018-06-22 11:58:29 -04:00
{% extends 'base.template.html' -%}
2018-08-13 05:56:24 -04:00
{% macro listItems(items, title, overridePath) %}
2018-08-29 11:48:19 -04:00
{% set filteredItems = items | filterByPropertyValue('internal', undefined) %}
{% if filteredItems.length %}
2018-06-22 11:58:29 -04:00
< section class = "export-list" >
< h3 > {$ title $}< / h3 >
< table class = "is-full-width list-table" >
2018-08-29 11:48:19 -04:00
{% for item in filteredItems %}
2018-06-22 11:58:29 -04:00
< tr >
2018-09-26 09:05:38 -04:00
< td > < code class = "code-anchor" > < a href = "{$ overridePath or item.path $}" { % - if item . deprecated ! = undefined % } class = "deprecated-api-item" { % endif % } > {$ item.name $}< / a > < / code > < / td >
2018-09-17 12:37:18 -04:00
< td >
{% if item.deprecated !== undefined %}{$ ('**Deprecated:** ' + item.deprecated) | marked $}{% endif %}
{% if item.shortDescription %}{$ item.shortDescription | marked $}{% endif %}
< / td >
2018-06-22 11:58:29 -04:00
< / tr >
{% endfor %}
< / table >
< / section >
{% endif %}
{% endmacro %}
2018-09-17 12:37:18 -04:00
{% block header %}
< header class = "api-header" >
< h1 > {$ doc.name $}< / h1 >
< label class = "api-type-label {$ doc.docType $}" > {$ doc.docType $}< / label >
{% if doc.packageDeprecated or (not doc.isPrimaryPackage and doc.deprecated !== undefined) %}< label class = "api-status-label deprecated" > deprecated< / label > {% endif %}
{% if doc.security !== undefined %}< label class = "api-status-label security" > security< / label > {% endif %}
{% if doc.pipeOptions.pure === 'false' %}< label class = "api-status-label impure-pipe" > impure< / label > {% endif %}
< / header >
{% endblock %}
2018-06-22 11:58:29 -04:00
{% block body -%}
{$ doc.shortDescription | marked $}
{% if doc.description %}{$ doc.description | marked $}{% endif %}
{% include "includes/see-also.html" %}
2018-08-13 05:56:24 -04:00
{% if doc.isPrimaryPackage %}
2018-06-22 11:58:29 -04:00
< h2 > Entry points< / h2 >
2018-08-13 05:56:24 -04:00
{$ listItems([doc.packageInfo.primary], 'Primary', '#primary-entry-point-exports') $}
2018-06-22 11:58:29 -04:00
{$ listItems(doc.packageInfo.secondary, 'Secondary') $}
2018-08-13 05:56:24 -04:00
{% endif %}
2018-06-22 11:58:29 -04:00
2018-08-13 05:56:24 -04:00
< h2 > {% if doc.isPrimaryPackage %}Primary entry{% else %}Entry{% endif %} point exports< / h2 >
2018-09-17 12:37:18 -04:00
{% include "includes/deprecation.html" %}
2018-09-08 16:57:46 -04:00
{$ listItems(doc.ngmodules, 'NgModules') $}
2018-06-22 11:58:29 -04:00
{$ 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 %}