| 3028 | } |
| 3029 | |
| 3030 | @Directive({ |
| 3031 | selector: 'with-prop-decorators', |
| 3032 | standalone: false, |
| 3033 | }) |
| 3034 | class DirectiveWithPropDecorators { |
| 3035 | target: any; |
| 3036 | |
| 3037 | @Input('elProp') dirProp: string | undefined; |
| 3038 | @Output('elEvent') event = new EventEmitter(); |
| 3039 | |
| 3040 | @HostBinding('attr.my-attr') myAttr: string | undefined; |
| 3041 | @HostListener('click', ['$event.target']) |
| 3042 | onClick(target: any) { |
| 3043 | this.target = target; |
| 3044 | } |
| 3045 | |
| 3046 | fireEvent(msg: any) { |
| 3047 | this.event.emit(msg); |
| 3048 | } |
| 3049 | } |
| 3050 | |
| 3051 | @Component({ |
| 3052 | selector: 'some-cmp', |
nothing calls this directly
no test coverage detected
searching dependent graphs…