Class DomEvent

Index

Methods

Methods

public static addHandler(element: HTMLElement, eventName: string, handler: (e: Event) => void): any

Parameters

  • element: HTMLElement
  • eventName: string
  • handler: (e: Event) => void

Returns

any

public static removeHandler(element: HTMLElement, eventName: string, handler: (e: Event) => void): any

Parameters

  • element: HTMLElement
  • eventName: string
  • handler: (e: Event) => void

Returns

any