Is there a way to programmatically trigger the onmouseover event in plain JavaScript? or \"extract\" the method from the onmouseover event to call
onmouseover
const mouseoverEvent = new Event('mouseover'); whateverElement.dispatchEvent(mouseoverEvent);