Is there a proper way to trigger mouseenter and mouseleave events while dragging in the Angular framework? I've searched through the documentation but haven't found a solution yet.
I've experimented with different approaches, none of which have been successful.
etc.
1
<div>(mouseover)="mouseEnter($event)" (mouseout)="mouseLeave($event)"</div>
<div>(mouseenter)="mouseEnter($event)" (mouseleave)="mouseLeave($event)"</div>
mouseEnter(event) {
console.log("mouse enter" + event);
}
mouseLeave(event) {
console.log("mouse leave" + event);
}