MCPcopy Create free account
hub / github.com/angular/angular / EventDir

Class EventDir

packages/core/test/linker/regression_integration_spec.ts:461–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459 }
460
461 @Directive({
462 selector: '[dirClick]',
463 standalone: false,
464 })
465 class EventDir {
466 @Output() dirClick = new EventEmitter();
467
468 @HostListener('click', ['$event'])
469 onClick(event: any) {
470 this.dirClick.next(event);
471 }
472 }
473
474 @NgModule({
475 imports: [BrowserModule],

Callers

nothing calls this directly

Calls 3

DirectiveClass · 0.90
OutputInterface · 0.90
HostListenerInterface · 0.90

Tested by

no test coverage detected