Does anyone know a proper way to trigger mouseenter and mouseleave events while dragging in the Angular framework? I've looked through the docs and haven't found anything.
I've tried different aproaches that didn't work.
https://stackoverflow.com/a/40041496/3264998
https://stackoverflow.com/a/12270694/3264998
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);
}