Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

listenerMap

listenerMap: Record<EventTargetType, IEventListenerObject[]>

Static DEFAULT_EVENT_LISTENER_OPTIONS

DEFAULT_EVENT_LISTENER_OPTIONS: EventListenerOptions

Static LOGGER_LEVEL_COLOR

LOGGER_LEVEL_COLOR: Record<LoggerLevel, string>

Accessors

logList

Methods

addEventListener

addEventListeners

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

    Parameters

    Returns () => void

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

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

        Returns void

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

asTextBlob

  • asTextBlob(): undefined | Blob
  • Returns undefined | Blob

clearListener

  • clearListener(): void

createReporter

dispatchEvent

  • dispatchEvent(event: Event): boolean

dispatchEventLite

hasListener

removeEventListener

setLogLevel

Generated using TypeDoc