src/app/shared/components/empty-component.ts
Empty component for inheritance demo
selector | cp-empty |
template |
|
Properties |
|
Methods |
Inputs |
Outputs |
emptyInput | |
Type : string
|
|
parentInput | |
Type : string
|
|
Inherited from
EmptyParentComponent
|
|
Defined in
EmptyParentComponent:11
|
parentoutput | |
Inherited from
EmptyParentComponent
|
|
Defined in
EmptyParentComponent:13
|
ngOnInit |
ngOnInit()
|
Inherited from
EmptyParentComponent
|
Defined in
EmptyParentComponent:17
|
Returns :
void
|
Public parentProperty |
Inherited from
EmptyParentComponent
|
Defined in
EmptyParentComponent:15
|
import { Component, Input, OnInit } from '@angular/core';
import { EmptyParentComponent } from './empty-parent-component';
/**
* Empty component for inheritance demo
*/
@Component({
selector: 'cp-empty',
template: 'empty component'
})
export class EmptyComponent extends EmptyParentComponent {
@Input() public emptyInput: string;
}