docs(*): fix links to Dart API entries (#2185)
* docs(*): fix links to Dart API entries * post-review updates
This commit is contained in:
parent
2fcda45161
commit
014883d074
|
@ -34,6 +34,12 @@ block real-logger
|
|||
A real implementation would probably use the
|
||||
[logging package](https://pub.dartlang.org/packages/logging).
|
||||
|
||||
block provider-shorthand
|
||||
:marked
|
||||
This is actually a shorthand expression for a provider registration
|
||||
that creates a new instance of the
|
||||
[Provider](../api/angular2.core/Provider-class.html) class:
|
||||
|
||||
block provider-ctor-args
|
||||
- var _secondParam = 'named parameter, such as <code>useClass</code>'
|
||||
:marked
|
||||
|
|
|
@ -518,7 +518,7 @@ figure.image-display
|
|||
Recall from the previous section that `ngControl` registered this input box with the
|
||||
`NgForm` directive as "name".
|
||||
|
||||
We didn't add the **[`NgForm`](../api/common/index/NgForm-directive.html) directive*
|
||||
We didn't add the [NgForm](../api/angular2.common/NgForm-class.html) directive
|
||||
explicitly. Angular added it surreptitiously, wrapping it around the `<form>` element.
|
||||
|
||||
The `NgForm` directive supplements the `<form>` element with additional features.
|
||||
|
|
|
@ -527,15 +527,10 @@ code-example(format="nocode").
|
|||
|
||||
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-1')
|
||||
|
||||
:marked
|
||||
This is actually a short-hand expression for a provider registration
|
||||
<span if-docs="ts">
|
||||
block provider-shorthand
|
||||
:marked
|
||||
This is actually a shorthand expression for a provider registration
|
||||
using a _provider_ object literal with two properties:
|
||||
</span>
|
||||
<span if-docs="dart">
|
||||
that creates a new instance of the
|
||||
[Provider](../api/core/index/Provider-class.html) class:
|
||||
</span>
|
||||
|
||||
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-3')
|
||||
|
||||
|
|
|
@ -492,8 +492,6 @@ table
|
|||
[viewChild](../api/core/index/ViewChild-var.html) and
|
||||
[contentChild](../api/core/index/ContentChild-var.html).
|
||||
|
||||
// TODO (global): once we have api docs everywhere, change /docs/ts/latest/ to ../
|
||||
|
||||
:marked
|
||||
### Binding target
|
||||
An element property between enclosing square brackets identifies the target property. The target property in the following code is the image element’s `src` property.
|
||||
|
|
|
@ -527,15 +527,10 @@ code-example(format="nocode").
|
|||
|
||||
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-1')
|
||||
|
||||
:marked
|
||||
This is actually a short-hand expression for a provider registration
|
||||
<span if-docs="ts">
|
||||
block provider-shorthand
|
||||
:marked
|
||||
This is actually a shorthand expression for a provider registration
|
||||
using a _provider_ object literal with two properties:
|
||||
</span>
|
||||
<span if-docs="dart">
|
||||
that creates a new instance of the
|
||||
[Provider](../api/core/index/Provider-class.html) class:
|
||||
</span>
|
||||
|
||||
+makeExample('dependency-injection/ts/app/providers.component.ts','providers-3')
|
||||
|
||||
|
|
|
@ -492,8 +492,6 @@ table
|
|||
[viewChild](../api/core/index/ViewChild-var.html) and
|
||||
[contentChild](../api/core/index/ContentChild-var.html).
|
||||
|
||||
// TODO (global): once we have api docs everywhere, change /docs/ts/latest/ to ../
|
||||
|
||||
:marked
|
||||
### Binding target
|
||||
An element property between enclosing square brackets identifies the target property. The target property in the following code is the image element’s `src` property.
|
||||
|
|
Loading…
Reference in New Issue