src/app/shared/components/inherit-dir.component.ts
Inputs |
Outputs |
| testPropertyInComponent | |
Type : boolean
|
|
Default value : false
|
|
| testPropertyInBase | |
Type : boolean
|
|
Default value : false
|
|
|
Inherited from
BaseDirective
|
|
|
Defined in
BaseDirective:5
|
|
| testEventInComponent | |
Type : EventEmitter
|
|
| testEventInBase | |
Type : EventEmitter
|
|
|
Inherited from
BaseDirective
|
|
|
Defined in
BaseDirective:6
|
|
import { Component, EventEmitter, Input, Output } from '@angular/core';
import { BaseDirective } from '../base.directive';
@Component({
template: ''
})
export class InheritDirComponent extends BaseDirective {
@Input() testPropertyInComponent = false;
@Output() testEventInComponent = new EventEmitter<void>();
}