Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/index.ts>dom.DocumentEvent

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.DocumentEvent
import { type dom } from "https://deno.land/x/evt@v2.4.18/lib/index.ts";
const { DocumentEvent } = dom;

Methods

createEvent(eventInterface: "AnimationEvent"): AnimationEvent
createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent
createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent
createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent
createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent
createEvent(eventInterface: "CloseEvent"): CloseEvent
createEvent(eventInterface: "CompositionEvent"): CompositionEvent
createEvent(eventInterface: "CustomEvent"): CustomEvent
createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent
createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent
createEvent(eventInterface: "DragEvent"): DragEvent
createEvent(eventInterface: "ErrorEvent"): ErrorEvent
createEvent(eventInterface: "Event"): Event
createEvent(eventInterface: "Events"): Event
createEvent(eventInterface: "FocusEvent"): FocusEvent
createEvent(eventInterface: "FocusNavigationEvent"): FocusNavigationEvent
createEvent(eventInterface: "GamepadEvent"): GamepadEvent
createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent
createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent
createEvent(eventInterface: "InputEvent"): InputEvent
createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent
createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent
createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent
createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent
createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent
createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent
createEvent(eventInterface: "MediaStreamErrorEvent"): MediaStreamErrorEvent
createEvent(eventInterface: "MediaStreamEvent"): MediaStreamEvent
createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent
createEvent(eventInterface: "MessageEvent"): MessageEvent
createEvent(eventInterface: "MouseEvent"): MouseEvent
createEvent(eventInterface: "MouseEvents"): MouseEvent
createEvent(eventInterface: "MutationEvent"): MutationEvent
createEvent(eventInterface: "MutationEvents"): MutationEvent
createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent
createEvent(eventInterface: "OverflowEvent"): OverflowEvent
createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent
createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent
createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent
createEvent(eventInterface: "PointerEvent"): PointerEvent
createEvent(eventInterface: "PopStateEvent"): PopStateEvent
createEvent(eventInterface: "ProgressEvent"): ProgressEvent
createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent
createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent
createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent
createEvent(eventInterface: "RTCDtlsTransportStateChangedEvent"): RTCDtlsTransportStateChangedEvent
createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent
createEvent(eventInterface: "RTCIceCandidatePairChangedEvent"): RTCIceCandidatePairChangedEvent
createEvent(eventInterface: "RTCIceGathererEvent"): RTCIceGathererEvent
createEvent(eventInterface: "RTCIceTransportStateChangedEvent"): RTCIceTransportStateChangedEvent
createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent
createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent
createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent
createEvent(eventInterface: "RTCStatsEvent"): RTCStatsEvent
createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent
createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent
createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent
createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent
createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent
createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent
createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent
createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent
createEvent(eventInterface: "StorageEvent"): StorageEvent
createEvent(eventInterface: "TextEvent"): TextEvent
createEvent(eventInterface: "TouchEvent"): TouchEvent
createEvent(eventInterface: "TrackEvent"): TrackEvent
createEvent(eventInterface: "TransitionEvent"): TransitionEvent
createEvent(eventInterface: "UIEvent"): UIEvent
createEvent(eventInterface: "UIEvents"): UIEvent
createEvent(eventInterface: "VRDisplayEvent"): VRDisplayEvent
createEvent(eventInterface: "VRDisplayEvent "): VRDisplayEvent
createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent
createEvent(eventInterface: "WheelEvent"): WheelEvent
createEvent(eventInterface: string): Event