| 3057 | } |
| 3058 | |
| 3059 | @Directive({ |
| 3060 | selector: 'with-prop-decorators', |
| 3061 | standalone: false, |
| 3062 | }) |
| 3063 | class DirectiveWithPropDecorators { |
| 3064 | target: any; |
| 3065 | |
| 3066 | @Input('elProp') dirProp: string | undefined; |
| 3067 | @Output('elEvent') event = new EventEmitter(); |
| 3068 | |
| 3069 | @HostBinding('attr.my-attr') myAttr: string | undefined; |
| 3070 | @HostListener('click', ['$event.target']) |
| 3071 | onClick(target: any) { |
| 3072 | this.target = target; |
| 3073 | } |
| 3074 | |
| 3075 | fireEvent(msg: any) { |
| 3076 | this.event.emit(msg); |
| 3077 | } |
| 3078 | } |
| 3079 | |
| 3080 | @Component({ |
| 3081 | selector: 'some-cmp', |
nothing calls this directly
no test coverage detected