Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Events/DomEvents/emitDomEvent

Index

Functions

Functions

emitDomEvent

  • emitDomEvent(target: Document | Window | HTMLElement, event: string, args?: PlainObject): void
  • Emits a dom event on a single html element, the document or the window object

    Parameters

    • target: Document | Window | HTMLElement

      the element to emit the event on

    • event: string

      the name of the event to emit

    • Optional args: PlainObject

      additional arguments to pass to the event

    Returns void

Generated using TypeDoc