Function triggerEvent

  • Trigger an event mouseenter, mouseleave, mouseover, keyup, change, click, etc.

    Parameters

    • elm: HTMLElement
    • name: string
    • Rest...opts: boolean[]

    Returns HTMLElement