Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dom-event-types

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-event-types

DOM events data scraped from MDN

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

dom-event-types

An object of DOM event types and their interfaces.

Data scraped from MDN.

Usage

npm install --save-dev dom-event-types
const eventInterfaces = require("dom-event-interfaces");

console.log(eventInterfaces);
//=> { "abort": { "eventInterface": "Event", "bubbles": false, "cancelable": false }, ... }

Shape

{
  [eventType]: {
    eventInterface: string
    cancelable: Boolean
    bubbles: Boolean
  }
}

If cancelable or bubbles are undefined, it's because there is no entry for them on MDN.

Duplicates

Some events have duplicate interfaces. To make this package easier to use, duplicates have been removed. You can see a list of events with duplicate interfaces, and the interface that's exported in this project.

nameevent interfacesinterface in dom-event-types
abortEvent, ProgressEvent, UIEventEvent
endEvent, SpeechSynthesisEventEvent
errorProgressEvent, Event, SpeechSynthesisErrorEvent, UIEventEvent
loadUIEvent, ProgressEventUIEvent
messageServiceWorkerMessageEvent, MessageEventMessageEvent
errorProgressEvent, Event, SpeechSynthesisErrorEvent, UIEventEvent

Keywords

FAQs

Package last updated on 04 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc