Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about angular-lifecycle-hooks

Read more about angular-lifecycle-hooks

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - angular-lifecycle-hooks

How to use any type of property in a component on ngOnchanges

How to use any type of property in a component on ngOnchanges without @input property. I can not use Rxjs for this situation. It is not a child component so i have no @input property. Please see the f...
test-img

Habib01

angular

angular-changedetection

angular-lifecycle-hooks

ngonchanges

Votes: 0

Answers: 0

Effect of ngIf on ngAterViewInit

I am emitting an event in ngAfterViewInit lifecycle hook, and listening to that event in another component using ComponentRef. It works well until I use ngIf on the parent component. So, what is this ...
test-img

Tanishka Bansal

angular

visibility

angular-ng-if

angular-lifecycle-hooks

Votes: 0

Answers: 1

Latest Answer

ngIf is removing the component from the dom, and so must the child component would also be removed, If you only want to hide it use [hidden]="true" attribute.
test-img

vaira

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved