test/fixtures/sample-files-extends/src/app/mutiple-inheritance/multi-component.ts
Empty component for inheritance demo
selector | cp-multi |
template |
|
Properties |
Inputs |
emptyInput | |
Type : string
|
|
name |
Type : string
|
Inherited from
FirstClass
|
Defined in
FirstClass:4
|
age |
Type : number
|
Inherited from
BSecondClass
|
Defined in
BSecondClass:4
|
adress |
Type : string
|
Inherited from
AThirdClass
|
Defined in
AThirdClass:2
|
import { Component, Input, OnInit } from '@angular/core';
import { FirstClass } from './first-class';
/**
* Empty component for inheritance demo
*/
@Component({
selector: 'cp-multi',
template: 'empty component'
})
export class MultiComponent extends FirstClass {
@Input() public emptyInput: string;
}