how to access hover & active property in nativeElement in directive
@HostListener('mouseover')
onMouseOver() {
this.backgroundColor = '#fff';
}
@HostListener('mouseout')
onMouseOut() {
this.backgroundColor = '#000';
}
Are there any code examples left?
New code examples in category Other