docs: fix the order of links in `lifecycle-hooks` docs example (#40208)

This commit aligns the order of the links to the various sections of the
`lifecycle-hooks` docs example with the order in which the sections
appear in the template (which also coincides with the order in which
they are presented/discussed in the corresponding guide).

PR Close #40208
This commit is contained in:
George Kalpakas 2020-12-21 17:23:59 +02:00 committed by Joey Perrott
parent 8d25bd1e9f
commit 251b27701f
1 changed files with 1 additions and 1 deletions

View File

@ -1,11 +1,11 @@
<a id="top"></a>
<h1>Component Lifecycle Hooks</h1>
<a href="#hooks">Peek-a-boo: (most) lifecycle hooks</a><br>
<a href="#spy">Spy: directive with OnInit & OnDestroy</a><br>
<a href="#onchanges">OnChanges</a><br>
<a href="#docheck">DoCheck</a><br>
<a href="#after-view">AfterViewInit & AfterViewChecked</a><br>
<a href="#after-content">AfterContentInit & AfterContentChecked</a><br>
<a href="#spy">Spy: directive with OnInit & OnDestroy</a><br>
<a href="#counter">Counter: OnChanges + Spy directive</a><br>
<a id="hooks"></a>