Skip to content
This repository has been archived by the owner on May 15, 2022. It is now read-only.

Commit

Permalink
Atualizado Resumos
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarcon83 committed Jun 4, 2021
1 parent 7a69524 commit 1624fa0
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
footer {
min-height: var(--footer-min-height);
padding: 6rem 0;
}

.container {
Expand Down
42 changes: 42 additions & 0 deletions _Resumos/Angular - Lifeciclye Hooks.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Lifecycle Hooks -> são chamados em determinados momentos da vida do componente.


ngOnChanges()

Roda na criação do componente e a cada alteração de estado do mesmo;


ngOnInit()

Executado uma vez quando o componente inicializa;


ngDoCheck()

Quando o componente é checado por mudanças;


ngAfterContentInit()

Chamado uma vez, após o ngDoCheck() é chamado;


ngAfterContentChecked()

Depois que o ngDoCheck() e do ngAfterContentInit();


ngAfterViewInit()

Chamado apenas uma vez após ngAfterContentChecked();


ngAfterViewChecked()

Chamado na inicialização e a cada vez que o angular checa as visualizações do
do componente e seus filhos por alteração;


noOnDestroy()

É chamado antes do componente ser removido do DOM;

0 comments on commit 1624fa0

Please sign in to comment.