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

react-resizable-box

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-resizable-box - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "react-resizable-box",
"version": "1.1.2",
"version": "1.1.3",
"description": "",

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

@@ -148,5 +148,9 @@ # react-resizable-box

Calls when resizable component resize starts.
Calls back with (`direction: string`, `event: object`)
Calls back with (`direction: string`, `styleSize: object`, `clientSize: object`, `event: object`)
- direction: `top`, `right`, `bottom`, `left`, `topRight`, `bottomRight`, `bottomLeft`, and `topLeft`.
- styleSize: `{ width, height }`
- this argument is {width, height} of getComputedStyle.
- clientSize: `{ width`, height }`
- this argument is `clientWidth` and `clientHeight`.
- event: `mouse down event`

@@ -162,3 +166,3 @@

- direction: `top`, `right`, `bottom`, `left`, `topRight`, `bottomRight`, `bottomLeft`, and `topLeft`.
- getComputedStyleSize: `{ width, height }`
- styleSize: `{ width, height }`
- this argument is {width, height} of getComputedStyle.

@@ -179,3 +183,3 @@ - clientSize: `{ width`, height }`

- direction: `top`, `right`, `bottom`, `left`, `topRight`, `bottomRight`, `bottomLeft`, and `topLeft`.
- getComputedStyleSize: `{ width, height }`
- styleSize: `{ width, height }`
- this argument is {width, height} of getComputedStyle.

@@ -198,2 +202,6 @@ - clientSize: `{ width`, height }`

#### v1.1.3
- Update document.
#### v1.1.2

@@ -200,0 +208,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