I am using a hostlistener in a directive to detect \"blur\"- and \"keyup\"-events. Now I need to detect changes in the input-element the directive sits on. I tried
Open angular dom element schema https://github.com/angular/angular/blob/master/packages/compiler/src/schema/dom_element_schema_registry.ts#L78
where:
*: property represents an event.!: property is a boolean.#: property is a number.%: property is an object.Then press ctrl+F and write *
@HostListener(and also (customEvent)="handler()") can also listen to custom events
Example