Skip to content
sneppets

sneppets

  • Privacy
angular tutorials

EventEmitter parameter value undefined for listener

December 22, 2020December 22, 2020 Editorial StaffLeave a Comment on EventEmitter parameter value undefined for listener

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.

Angular angular, EventEmitter, typescript
angular tutorials

Cannot find name ‘Output’ – Angular

December 22, 2020August 13, 2024 Editorial Staff1 Comment on Cannot find name ‘Output’ – Angular

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.

Angular angular, typescript
angular tutorials

EventEmitter Error: Expected 0 type arguments, but got 1 : Angular

December 22, 2020December 22, 2020 Editorial StaffLeave a Comment on EventEmitter Error: Expected 0 type arguments, but got 1 : Angular

I am getting the following error EventEmitter Error: Expected 0 type arguments, but got 1 in Angular.

Angular angular, EventEmitter, typescript
angular tutorials

Difference between @ViewChild and @ContentChild – Angular Example

December 16, 2020December 22, 2020 Editorial StaffLeave a Comment on Difference between @ViewChild and @ContentChild – Angular Example

This tutorial guides you on the difference between @ViewChild and @ContentChild with Angular Example.

Angular angular, angular-9, contentchild, viewchild
angular tutorials

How to select an element in a component template – Angular ?

December 15, 2020December 16, 2020 Editorial StaffLeave a Comment on How to select an element in a component template – Angular ?

This tutorial guides you on how to select an element in a component template in Angular using ViewChild and ContentChild decorators.

Angular angular, angular-component, angular-template

Posts navigation

Older posts
Newer posts
Copyright © 2018 Sneppets. All Rights Reserved