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)
Angular - NgIf not working on component: "NG0303: Can't bind to 'ngIf' since it isn't a known property of 'p'."
I'm trying to use a ngif directive on a component, but keep getting the following error on the console: "NG0303: Can't bind to 'ngIf' since it isn't a known property of 'p'.", and the elemen...
Vítor Magalhães
Votes: 0
Answers: 3
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 ...
Tanishka Bansal
Votes: 0
Answers: 1