Skip to content

Commit

Permalink
docs: wrong links in lifecycle hooks api documentaion (angular#36557)
Browse files Browse the repository at this point in the history
lifecycle hooks api detailed documentation contained links which were pointing to onChanges hook only which is removed, made each hook point towards its deafult page link

PR Close angular#36557
  • Loading branch information
ajitsinghkaler authored and atscott committed Jun 9, 2020
1 parent f6ee911 commit cb13731
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/core/src/interface/lifecycle_hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {SimpleChanges} from './simple_change';
*
* @see `DoCheck`
* @see `OnInit`
* @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide
* @see [Lifecycle hooks guide](guide/lifecycle-hooks)
*
* @usageNotes
* The following snippet shows how a component can implement this interface to
Expand Down Expand Up @@ -43,7 +43,7 @@ export interface OnChanges {
* Define an `ngOnInit()` method to handle any additional initialization tasks.
*
* @see `AfterContentInit`
* @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide
* @see [Lifecycle hooks guide](guide/lifecycle-hooks)
*
* @usageNotes
* The following snippet shows how a component can implement this interface to
Expand Down Expand Up @@ -78,7 +78,7 @@ export interface OnInit {
* changes on the same input.
*
* @see `OnChanges`
* @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide
* @see [Lifecycle hooks guide](guide/lifecycle-hooks)
*
* @usageNotes
* The following snippet shows how a component can implement this interface
Expand All @@ -103,7 +103,7 @@ export interface DoCheck {
* A lifecycle hook that is called when a directive, pipe, or service is destroyed.
* Use for any custom cleanup that needs to occur when the
* instance is destroyed.
* @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide
* @see [Lifecycle hooks guide](guide/lifecycle-hooks)
*
* @usageNotes
* The following snippet shows how a component can implement this interface
Expand All @@ -129,7 +129,7 @@ export interface OnDestroy {
*
* @see `OnInit`
* @see `AfterViewInit`
* @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide
* @see [Lifecycle hooks guide](guide/lifecycle-hooks)
*
* @usageNotes
* The following snippet shows how a component can implement this interface to
Expand All @@ -155,7 +155,7 @@ export interface AfterContentInit {
* completed checking all content of a directive.
*
* @see `AfterViewChecked`
* @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide
* @see [Lifecycle hooks guide](guide/lifecycle-hooks)
*
* @usageNotes
* The following snippet shows how a component can implement this interface to
Expand All @@ -182,7 +182,7 @@ export interface AfterContentChecked {
*
* @see `OnInit`
* @see `AfterContentInit`
* @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide
* @see [Lifecycle hooks guide](guide/lifecycle-hooks)
*
* @usageNotes
* The following snippet shows how a component can implement this interface to
Expand All @@ -208,7 +208,7 @@ export interface AfterViewInit {
* completed checking a component's view for changes.
*
* @see `AfterContentChecked`
* @see [Lifecycle Hooks](guide/lifecycle-hooks#onchanges) guide
* @see [Lifecycle hooks guide](guide/lifecycle-hooks)
*
* @usageNotes
* The following snippet shows how a component can implement this interface to
Expand Down

0 comments on commit cb13731

Please sign in to comment.