mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
E.g. for a component like this:
```
@Component({
template: ‘<ng-content select=“child”></ng-content>’
})
class MyComp {
@Input(‘aInputName’)
aInputProp: string;
@Output(‘aEventName’)
aOuputProp: EventEmitter<any>;
}
```
the `ComponentFactory` will now contain the following:
- `inputs = {aInputProp: ‘aInputName’}`
- `outputs = {aOutputProp: ‘aOutputName’}`
- `ngContentSelectors = [‘child’]`
|
||
|---|---|---|
| .. | ||
| largeform | ||
| largetable | ||
| old | ||
| tree | ||
| bootstrap_ng2.ts | ||
| bootstrap_plain.ts | ||
| util.ts | ||