New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@chroma-x/react-custom-dom-events

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chroma-x/react-custom-dom-events - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "@chroma-x/react-custom-dom-events",
"version": "1.1.1",
"version": "1.1.2",
"description": "Easily integrate custom DOM events in React functional components",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -35,5 +35,5 @@ # react-custom-dom-events

### How to use
## How to use
##### Installation
### Installation

@@ -44,3 +44,3 @@ ```sh

##### Event emission
### Event emission

@@ -80,3 +80,3 @@ The emitting element could be a `RefObject<HTMLElement>`, `MutableRefObject<HTMLElement>` or a `HTMLElement`.

##### Event listening
### Event listening

@@ -118,3 +118,3 @@ The listening element could be a `RefObject<HTMLElement>`, `MutableRefObject<HTMLElement>` or a `HTMLElement`.

const handleClick = (): void => {
removeListener();
removeListener();
};

@@ -121,0 +121,0 @@

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