fix: 无效链接
This commit is contained in:
parent
321728f132
commit
f839fd6031
@ -242,7 +242,7 @@ such as a template input variable,
|
||||
<!-- link to guide/template-ref-variables -->
|
||||
|
||||
表达式的上下文可以包括组件之外的对象。
|
||||
比如[模板输入变量](built-in-directives#template-input-variables) (`let customer`)和[模板引用变量](guide/template-ref-variables)(`#customerInput`)就是备选的上下文对象之一。
|
||||
比如[模板输入变量](guide/template-syntax#template-input-variable) (`let customer`)和[模板引用变量](guide/template-syntax#ref-vars)(`#customerInput`)就是备选的上下文对象之一。
|
||||
|
||||
<code-example path="interpolation/src/app/app.component.html" region="template-input-variable" header="src/app/app.component.html (template input variable)" linenums="false">
|
||||
</code-example>
|
||||
|
@ -179,6 +179,7 @@
|
||||
{% set nonInternalMethods = methods | filterByPropertyValue('internal', undefined) %}
|
||||
{% if nonInternalMethods.length %}
|
||||
<section class="{$ containerClass $}">
|
||||
<a name="methods"></a>
|
||||
<h2>{$ headingText $}</h2>
|
||||
{% for member in nonInternalMethods %}
|
||||
{$ renderMethodDetail(versionInfo, member, itemClass) $}
|
||||
@ -192,6 +193,7 @@
|
||||
{% set nonInternalProperties = properties | filterByPropertyValue('internal', undefined) %}
|
||||
{% if nonInternalProperties.length -%}
|
||||
<section class="{$ containerClass $}">
|
||||
<a name="properties"></a>
|
||||
<h{$ headingLevel $}>{$ headingText $}</h{$ headingLevel $}>
|
||||
<table class="is-full-width list-table property-table">
|
||||
<thead>
|
||||
|
@ -70,13 +70,16 @@
|
||||
{$ memberHelpers.renderMethodDetails(versionInfo, doc.methods, 'instance-methods', 'instance-method', '方法') $}
|
||||
|
||||
{% if doc.ngmoduleOptions.providers %}
|
||||
<a name="providers"></a>
|
||||
{$ renderTable(doc.ngmoduleOptions.providers, 'providers', '提供商', '提供商') $}
|
||||
{% endif %}
|
||||
|
||||
{% if doc.directives.length %}
|
||||
<a name="directives"></a>
|
||||
{$ renderExports(doc.directives, 'directive', '指令') $}
|
||||
{% endif %}
|
||||
{% if doc.pipes.length %}
|
||||
<a name="pipes"></a>
|
||||
{$ renderExports(doc.pipes, 'pipe', '管道') $}
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user