2018-02-08 10:00:53 -05:00
|
|
|
{% import "lib/githubLinks.html" as github -%}
|
|
|
|
{% set comma = joiner(',') %}
|
|
|
|
{% set slash = joiner('/') %}
|
2017-05-02 10:08:49 -04:00
|
|
|
<article>
|
2018-03-02 18:32:12 -05:00
|
|
|
<div class="page-actions">
|
|
|
|
<a href="{$ github.githubEditHref(doc, versionInfo) $}" aria-label="Suggest Edits" title="Suggest Edits"><i class="material-icons" aria-hidden="true" role="img">mode_edit</i></a>
|
|
|
|
<a href="{$ github.githubViewHref(doc, versionInfo) $}" aria-label="View Source" title="View Source"><i class="material-icons" aria-hidden="true" role="img">code</i></a>
|
|
|
|
</div>
|
|
|
|
<div class="breadcrumb">
|
2018-02-08 10:00:53 -05:00
|
|
|
<script type="application/ld+json">
|
|
|
|
{
|
|
|
|
"@context": "http://schema.org",
|
|
|
|
"@type": "BreadcrumbList",
|
|
|
|
"itemListElement": [
|
|
|
|
{% for crumb in doc.breadCrumbs %}
|
|
|
|
{$ comma() $}{
|
|
|
|
"@type": "ListItem",
|
|
|
|
"position": {$ loop.index $},
|
|
|
|
"item": {
|
|
|
|
"@id": "https://angular.io/{$ crumb.path $}",
|
|
|
|
"name": "{$ crumb.text $}"
|
|
|
|
}
|
|
|
|
}{% endfor %}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{% for crumb in doc.breadCrumbs %}{% if not loop.last %}
|
|
|
|
{$ slash() $}
|
2018-02-25 16:56:21 -05:00
|
|
|
{% if crumb.path %}<a href="{$ crumb.path $}">{$ crumb.text $}</a>{% else %}{$ crumb.text $}{% endif %}
|
2018-02-08 10:00:53 -05:00
|
|
|
{% endif %}{% endfor %}
|
|
|
|
</div>
|
2017-05-02 10:08:49 -04:00
|
|
|
<header class="api-header">
|
2018-02-08 10:00:53 -05:00
|
|
|
{% if doc.deprecated !== undefined %}<label class="api-status-label deprecated">deprecated</label>{% endif %}
|
|
|
|
{% if doc.experimental !== undefined %}<label class="api-status-label experimental">experimental</label>{% endif %}
|
|
|
|
{% if doc.stable !== undefined %}<label class="api-status-label stable">stable</label>{% endif %}
|
2017-05-02 10:08:49 -04:00
|
|
|
<label class="api-type-label {$ doc.docType $}">{$ doc.docType $}</label>
|
2018-02-26 06:34:57 -05:00
|
|
|
<h1>{$ doc.name $}</h1>
|
2017-05-02 10:08:49 -04:00
|
|
|
<span class="version">{$ version $}</span>
|
|
|
|
</header>
|
|
|
|
|
2018-02-08 10:00:53 -05:00
|
|
|
<div class="api-body">
|
|
|
|
{% block body %}{% endblock %}
|
|
|
|
</div>
|
2018-02-25 16:56:21 -05:00
|
|
|
</article>
|