trigger on javascript code example
Example: trigger event javascript
// Simple trigger event
document.querySelector(theElem).dispatchEvent(new Event('mouseover'))
// Simple trigger event
document.querySelector(theElem).dispatchEvent(new Event('mouseover'))