docs(x-ref links): Change links to use dgeni syntax

Closes #1440
This commit is contained in:
Naomi Black
2015-04-17 13:01:07 -07:00
committed by Misko Hevery
parent 64ad74acbe
commit 5c25248582
51 changed files with 259 additions and 249 deletions

View File

@ -11,7 +11,7 @@ import {Validators} from './validators';
//}
/**
* The default accessor for writing a value and listening to changes that is used by a [Control] directive.
* The default accessor for writing a value and listening to changes that is used by a {@link Control} directive.
*
* This is the default strategy that Angular uses when no other accessor is applied.
*
@ -84,7 +84,7 @@ export class CheckboxControlValueAccessor {
* the control will reflect that change. Likewise, if the value of the control changes, the input element reflects that
* change.
*
* Here we use [FormDirectives], rather than importing each form directive individually, e.g.
* Here we use {@link FormDirectives}, rather than importing each form directive individually, e.g.
* `ControlDirective`, `ControlGroupDirective`. This is just a shorthand for the same end result.
*
* ```
@ -170,7 +170,7 @@ export class ControlDirective {
* In this example, we bind the control group to the form element, and we bind the login and password controls to the
* login and password elements.
*
* Here we use [FormDirectives], rather than importing each form directive individually, e.g.
* Here we use {@link FormDirectives}, rather than importing each form directive individually, e.g.
* `ControlDirective`, `ControlGroupDirective`. This is just a shorthand for the same end result.
*
* ```

View File

@ -8,8 +8,8 @@ import * as modelModule from './model';
*
* # Example
*
* This example creates a [ControlGroup] that consists of a `login` [Control], and a nested [ControlGroup] that defines
* a `password` and a `passwordConfirmation` [Control].
* This example creates a {@link ControlGroup} that consists of a `login` {@link Control}, and a nested
* {@link ControlGroup} that defines a `password` and a `passwordConfirmation` {@link Control}.
*
* ```
* var loginForm = builder.group({

View File

@ -89,8 +89,8 @@ export class AbstractControl {
/**
* Defines a part of a form that cannot be divided into other controls.
*
* `Control` is one of the three fundamental building blocks used to define forms in Angular, along with [ControlGroup]
* and [ControlArray].
* `Control` is one of the three fundamental building blocks used to define forms in Angular, along with
* {@link ControlGroup} and {@link ControlArray}.
*
* @exportedAs angular2/forms
*/
@ -120,12 +120,13 @@ export class Control extends AbstractControl {
/**
* Defines a part of a form, of fixed length, that can contain other controls.
*
* A ControlGroup aggregates the values and errors of each [Control] in the group. Thus, if one of the controls in a
* group is invalid, the entire group is invalid. Similarly, if a control changes its value, the entire group changes
* as well.
* A ControlGroup aggregates the values and errors of each {@link Control} in the group. Thus, if one of the controls
* in a group is invalid, the entire group is invalid. Similarly, if a control changes its value, the entire group
* changes as well.
*
* `ControlGroup` is one of the three fundamental building blocks used to define forms in Angular, along with [Control]
* and [ControlArray]. [ControlArray] can also contain other controls, but is of variable length.
* `ControlGroup` is one of the three fundamental building blocks used to define forms in Angular, along with
* {@link Control} and {@link ControlArray}. {@link ControlArray} can also contain other controls, but is of variable
* length.
*
* @exportedAs angular2/forms
*/
@ -206,12 +207,13 @@ export class ControlGroup extends AbstractControl {
/**
* Defines a part of a form, of variable length, that can contain other controls.
*
* A `ControlArray` aggregates the values and errors of each [Control] in the group. Thus, if one of the controls in a
* group is invalid, the entire group is invalid. Similarly, if a control changes its value, the entire group changes
* as well.
* A `ControlArray` aggregates the values and errors of each {@link Control} in the group. Thus, if one of the controls
* in a group is invalid, the entire group is invalid. Similarly, if a control changes its value, the entire group
* changes as well.
*
* `ControlArray` is one of the three fundamental building blocks used to define forms in Angular, along with [Control]
* and [ControlGroup]. [ControlGroup] can also contain other controls, but is of fixed length.
* `ControlArray` is one of the three fundamental building blocks used to define forms in Angular, along with
* {@link Control} and {@link ControlGroup}. {@link ControlGroup} can also contain other controls, but is of fixed
* length.
*
* @exportedAs angular2/forms
*/