import { Directive , Input , HostListener } from '@angular/core' ; import SearchManagerService , { EListID } from '../service/service' ; @ Directive ( { selector : '[appSidebarSearchManagerList]' , } ) export class SidebarAppSearchManagerListDirective { @ Input ( ) listID ! : EListID ; @ HostListener ( 'mouseover' , [ '$event' ] ) onMouseOver ( event ) { SearchManagerService . onMouseOver ( this . listID ) ; } }