| 3213 | } |
| 3214 | |
| 3215 | @Directive({ |
| 3216 | selector: 'with-prop-decorators', |
| 3217 | }) |
| 3218 | class DirectiveWithPropDecorators { |
| 3219 | target: any; |
| 3220 | |
| 3221 | @Input('elProp') dirProp: string | undefined; |
| 3222 | @Output('elEvent') event = new EventEmitter(); |
| 3223 | |
| 3224 | @HostBinding('attr.my-attr') myAttr: string | undefined; |
| 3225 | @HostListener('click', ['$event.target']) |
| 3226 | onClick(target: any) { |
| 3227 | this.target = target; |
| 3228 | } |
| 3229 | |
| 3230 | fireEvent(msg: any) { |
| 3231 | this.event.emit(msg); |
| 3232 | } |
| 3233 | } |
| 3234 | |
| 3235 | @Component({ |
| 3236 | selector: 'some-cmp', |
nothing calls this directly
no test coverage detected