Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly __constructorName

__constructorName: string

listenerMap

listenerMap: Record<EventTargetType, IEventListenerObject[]>

Readonly reporter

reporter: Reporter

Static DEFAULT_EVENT_LISTENER_OPTIONS

DEFAULT_EVENT_LISTENER_OPTIONS: EventListenerOptions

Static IGNORE_FUNCTION_MEMBER

IGNORE_FUNCTION_MEMBER: PropertyKey[]

Static reporterManager

reporterManager: ReporterManager

Accessors

environmentInfo

Methods

addEventListener

addEventListeners

  • 对多个事件添加同一个事件监听器

    Parameters

    Returns () => void

    若添加成功则返回一个函数, 用于移除事件监听

      • (): void
      • 对多个事件添加同一个事件监听器

        Returns void

        若添加成功则返回一个函数, 用于移除事件监听

authorize

clearListener

  • clearListener(): void

detect

dispatchEvent

  • dispatchEvent(event: Event): boolean

dispatchEventLite

hasListener

removeEventListener

toString

  • toString(): string

Generated using TypeDoc