diff --git a/packages/animations/src/animation_metadata.ts b/packages/animations/src/animation_metadata.ts index 38d161fa95..2d8b85bc63 100755 --- a/packages/animations/src/animation_metadata.ts +++ b/packages/animations/src/animation_metadata.ts @@ -120,7 +120,7 @@ export interface AnimationGroupMetadata extends AnimationMetadata { steps: Anima /** * `trigger` is an animation-specific function that is designed to be used inside of Angular's animation DSL language. If this information is new, please navigate to the {@link - Component#animations-anchor component animations metadata page} to gain a better understanding of + Component#animations component animations metadata page} to gain a better understanding of how animations in Angular are used. * * `trigger` Creates an animation trigger which will a list of {@link state state} and {@link @@ -128,7 +128,7 @@ export interface AnimationGroupMetadata extends AnimationMetadata { steps: Anima changes. * * Triggers are registered within the component annotation data under the {@link - Component#animations-anchor animations section}. An animation trigger can be placed on an element + Component#animations animations section}. An animation trigger can be placed on an element within a template by referencing the name of the trigger followed by the expression value that the trigger is bound to (in the form of `[@triggerName]="expression"`. * @@ -175,7 +175,7 @@ export function trigger(name: string, definitions: AnimationMetadata[]): Animati /** * `animate` is an animation-specific function that is designed to be used inside of Angular's * animation DSL language. If this information is new, please navigate to the {@link - * Component#animations-anchor component animations metadata page} to gain a better understanding of + * Component#animations component animations metadata page} to gain a better understanding of * how animations in Angular are used. * * `animate` specifies an animation step that will apply the provided `styles` data for a given @@ -226,7 +226,7 @@ export function animate( /** * `group` is an animation-specific function that is designed to be used inside of Angular's * animation DSL language. If this information is new, please navigate to the {@link - * Component#animations-anchor component animations metadata page} to gain a better understanding of + * Component#animations component animations metadata page} to gain a better understanding of * how animations in Angular are used. * * `group` specifies a list of animation steps that are all run in parallel. Grouped animations are @@ -261,7 +261,7 @@ export function group(steps: AnimationMetadata[]): AnimationGroupMetadata { /** * `sequence` is an animation-specific function that is designed to be used inside of Angular's * animation DSL language. If this information is new, please navigate to the {@link - * Component#animations-anchor component animations metadata page} to gain a better understanding of + * Component#animations component animations metadata page} to gain a better understanding of * how animations in Angular are used. * * `sequence` Specifies a list of animation steps that are run one by one. (`sequence` is used by @@ -299,7 +299,7 @@ export function sequence(steps: AnimationMetadata[]): AnimationSequenceMetadata /** * `style` is an animation-specific function that is designed to be used inside of Angular's * animation DSL language. If this information is new, please navigate to the {@link - * Component#animations-anchor component animations metadata page} to gain a better understanding of + * Component#animations component animations metadata page} to gain a better understanding of * how animations in Angular are used. * * `style` declares a key/value object containing CSS properties/styles that can then be used for @@ -347,7 +347,7 @@ export function style( /** * `state` is an animation-specific function that is designed to be used inside of Angular's * animation DSL language. If this information is new, please navigate to the {@link - * Component#animations-anchor component animations metadata page} to gain a better understanding of + * Component#animations component animations metadata page} to gain a better understanding of * how animations in Angular are used. * * `state` declares an animation state within the given trigger. When a state is active within a @@ -399,7 +399,7 @@ export function state(name: string, styles: AnimationStyleMetadata): AnimationSt /** * `keyframes` is an animation-specific function that is designed to be used inside of Angular's * animation DSL language. If this information is new, please navigate to the {@link - * Component#animations-anchor component animations metadata page} to gain a better understanding of + * Component#animations component animations metadata page} to gain a better understanding of * how animations in Angular are used. * * `keyframes` specifies a collection of {@link style style} entries each optionally characterized @@ -448,7 +448,7 @@ export function keyframes(steps: AnimationStyleMetadata[]): AnimationKeyframesSe /** * `transition` is an animation-specific function that is designed to be used inside of Angular's * animation DSL language. If this information is new, please navigate to the {@link - * Component#animations-anchor component animations metadata page} to gain a better understanding of + * Component#animations component animations metadata page} to gain a better understanding of * how animations in Angular are used. * * `transition` declares the {@link sequence sequence of animation steps} that will be run when the diff --git a/packages/core/src/di/reflective_injector.ts b/packages/core/src/di/reflective_injector.ts index 1129d53f56..a0e939dddd 100644 --- a/packages/core/src/di/reflective_injector.ts +++ b/packages/core/src/di/reflective_injector.ts @@ -113,7 +113,7 @@ export abstract class ReflectiveInjector implements Injector { * * This function is slower than the corresponding `fromResolvedProviders` * because it needs to resolve the passed-in providers first. - * See {@link Injector#resolve} and {@link Injector#fromResolvedProviders}. + * See {@link ReflectiveInjector#resolve} and {@link ReflectiveInjector#fromResolvedProviders}. */ static resolveAndCreate(providers: Provider[], parent?: Injector): ReflectiveInjector { const ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers); @@ -190,7 +190,7 @@ export abstract class ReflectiveInjector implements Injector { * * This function is slower than the corresponding `createChildFromResolved` * because it needs to resolve the passed-in providers first. - * See {@link Injector#resolve} and {@link Injector#createChildFromResolved}. + * See {@link ReflectiveInjector#resolve} and {@link ReflectiveInjector#createChildFromResolved}. */ abstract resolveAndCreateChild(providers: Provider[]): ReflectiveInjector; diff --git a/packages/core/src/metadata/view.ts b/packages/core/src/metadata/view.ts index b511a0e0f7..439944da98 100644 --- a/packages/core/src/metadata/view.ts +++ b/packages/core/src/metadata/view.ts @@ -61,19 +61,19 @@ export enum ViewEncapsulation { * {@link Component} */ export class ViewMetadata { - /** {@link Component.templateUrl} */ + /** {@link Component#templateUrl} */ templateUrl: string|undefined; - /** {@link Component.template} */ + /** {@link Component#template} */ template: string|undefined; - /** {@link Component.stylesUrl} */ + /** {@link Component#stylesUrl} */ styleUrls: string[]|undefined; - /** {@link Component.styles} */ + /** {@link Component#styles} */ styles: string[]|undefined; - /** {@link Component.encapsulation} */ + /** {@link Component#encapsulation} */ encapsulation: ViewEncapsulation|undefined; - /** {@link Component.animation} */ + /** {@link Component#animation} */ animations: any[]|undefined; - /** {@link Component.interpolation} */ + /** {@link Component#interpolation} */ interpolation: [string, string]|undefined; constructor( diff --git a/packages/core/src/render/api.ts b/packages/core/src/render/api.ts index 630de09f81..5a54ff0a9f 100644 --- a/packages/core/src/render/api.ts +++ b/packages/core/src/render/api.ts @@ -99,7 +99,8 @@ export const Renderer2Interceptor = new InjectionToken('Renderer2In * * Use this service to bypass Angular's templating and make custom UI changes that can't be * expressed declaratively. For example if you need to set a property or an attribute whose name is - * not statically known, use {@link #setElementProperty} or {@link #setElementAttribute} + * not statically known, use {@link Renderer#setElementProperty} or {@link + * Renderer#setElementAttribute} * respectively. * * If you are implementing a custom renderer, you must implement this interface. diff --git a/packages/forms/src/directives/reactive_directives/form_group_name.ts b/packages/forms/src/directives/reactive_directives/form_group_name.ts index 31fa0e9dbe..6be89003e3 100644 --- a/packages/forms/src/directives/reactive_directives/form_group_name.ts +++ b/packages/forms/src/directives/reactive_directives/form_group_name.ts @@ -128,7 +128,7 @@ export const formArrayNameProvider: any = { * status is re-calculated. * * **Add new controls**: You can add new controls to the {@link FormArray} dynamically by - * calling its {@link FormArray.push} method. + * calling its {@link FormArray#push} method. * Ex: `this.form.get('cities').push(new FormControl());` * * ### Example diff --git a/packages/forms/src/model.ts b/packages/forms/src/model.ts index 2a413c7651..77aeca8077 100644 --- a/packages/forms/src/model.ts +++ b/packages/forms/src/model.ts @@ -676,8 +676,8 @@ export class FormControl extends AbstractControl { /** * Patches the value of a control. * - * This function is functionally the same as {@link FormControl.setValue} at this level. - * It exists for symmetry with {@link FormGroup.patchValue} on `FormGroups` and `FormArrays`, + * This function is functionally the same as {@link FormControl#setValue} at this level. + * It exists for symmetry with {@link FormGroup#patchValue} on `FormGroups` and `FormArrays`, * where it does behave differently. */ patchValue(value: any, options: { @@ -842,7 +842,7 @@ export class FormGroup extends AbstractControl { * Registers a control with the group's list of controls. * * This method does not update value or validity of the control, so for - * most cases you'll want to use {@link FormGroup.addControl} instead. + * most cases you'll want to use {@link FormGroup#addControl} instead. */ registerControl(name: string, control: AbstractControl): AbstractControl { if (this.controls[name]) return this.controls[name]; diff --git a/packages/router/src/directives/router_link.ts b/packages/router/src/directives/router_link.ts index 9c162f3f7d..7c3dd56fe8 100644 --- a/packages/router/src/directives/router_link.ts +++ b/packages/router/src/directives/router_link.ts @@ -72,7 +72,7 @@ import {UrlTree} from '../url_tree'; * - 'merge' merge the queryParams into the current queryParams * - 'preserve' prserve the current queryParams * - default / '' use the queryParams only - * same options for {@link NavigationExtras.queryParamsHandling} + * same options for {@link NavigationExtras#queryParamsHandling} * * ``` * @@ -89,7 +89,7 @@ import {UrlTree} from '../url_tree'; * * @ngModule RouterModule * - * See {@link Router.createUrlTree} for more information. + * See {@link Router#createUrlTree} for more information. * * @stable */ diff --git a/packages/upgrade/src/common/downgrade_component.ts b/packages/upgrade/src/common/downgrade_component.ts index a762f74e1a..62d90fc2b7 100644 --- a/packages/upgrade/src/common/downgrade_component.ts +++ b/packages/upgrade/src/common/downgrade_component.ts @@ -18,7 +18,7 @@ let downgradeCount = 0; /** * @whatItDoes * - * *Part of the [upgrade/static](/docs/ts/latest/api/#!?query=upgrade%2Fstatic) + * *Part of the [upgrade/static](api?query=upgrade%2Fstatic) * library for hybrid upgrade apps that support AoT compilation* * * Allows an Angular component to be used from AngularJS. diff --git a/packages/upgrade/src/common/downgrade_injectable.ts b/packages/upgrade/src/common/downgrade_injectable.ts index a177a3e327..7a1a50f054 100644 --- a/packages/upgrade/src/common/downgrade_injectable.ts +++ b/packages/upgrade/src/common/downgrade_injectable.ts @@ -12,7 +12,7 @@ import {INJECTOR_KEY} from './constants'; /** * @whatItDoes * - * *Part of the [upgrade/static](/docs/ts/latest/api/#!?query=upgrade%2Fstatic) + * *Part of the [upgrade/static](api?query=upgrade%2Fstatic) * library for hybrid upgrade apps that support AoT compilation* * * Allow an Angular service to be accessible from AngularJS. diff --git a/packages/upgrade/src/static/upgrade_component.ts b/packages/upgrade/src/static/upgrade_component.ts index 761716a7a6..94065b0f8a 100644 --- a/packages/upgrade/src/static/upgrade_component.ts +++ b/packages/upgrade/src/static/upgrade_component.ts @@ -43,7 +43,7 @@ type LifecycleHook = '$doCheck' | '$onChanges' | '$onDestroy' | '$onInit' | '$po /** * @whatItDoes * - * *Part of the [upgrade/static](/docs/ts/latest/api/#!?query=upgrade%2Fstatic) + * *Part of the [upgrade/static](api?query=upgrade%2Fstatic) * library for hybrid upgrade apps that support AoT compilation* * * Allows an AngularJS component to be used from Angular. diff --git a/packages/upgrade/src/static/upgrade_module.ts b/packages/upgrade/src/static/upgrade_module.ts index 62c9f09c78..634f7669c3 100644 --- a/packages/upgrade/src/static/upgrade_module.ts +++ b/packages/upgrade/src/static/upgrade_module.ts @@ -18,7 +18,7 @@ import {angular1Providers, setTempInjectorRef} from './angular1_providers'; /** * @whatItDoes * - * *Part of the [upgrade/static](/docs/ts/latest/api/#!?query=upgrade%2Fstatic) + * *Part of the [upgrade/static](api?query=upgrade%2Fstatic) * library for hybrid upgrade apps that support AoT compilation* * * Allows AngularJS and Angular components to be used together inside a hybrid upgrade @@ -88,6 +88,7 @@ import {angular1Providers, setTempInjectorRef} from './angular1_providers'; * * {@example upgrade/static/ts/module.ts region='bootstrap'} * + * {@a upgrading-an-angular-1-service} * * ## Upgrading an AngularJS service *