# Inputs and Outputs

### Parent component receiving value via @Output()

@for (item of items; track item) {
- {{ item }}
}

## Input and Output together

Open the console to see the EventEmitter at work when you click Delete.

## Input and Output in the component class metadata

Open the console to see the EventEmitter at work when you click Buy.

## Aliasing Inputs and Outputs

See aliasing.component.ts for aliases and the console for the EventEmitter console logs.

## Wishlist:

@for (wish of wishlist; track wish) {
- {{ wish }}
}