When I was trying to pass component data with property binding, I got the following typescript error : Property does not exist on value of type. This tutorial guides you how to resolve this error and also guides on how to… Read More!
I was trying to use EventEmitter to emit custom events and to handle show/hide components in the AppComponent based on the menu item/link that was clicked in the header. In the parent component EventEmitter parameter value undefined for listener.
I was trying to learn and implement @Input and @Output decorators in Angular. And when I tried @Output, I got the following error Cannot find name ‘Output’ in Angular.
I am getting the following error EventEmitter Error: Expected 0 type arguments, but got 1 in Angular.
This tutorial guides you on how to project contents into angular components using ng-content. You should know that content projection and ng-content is one of the helpful angular features to build reusable components.