react-resizable-box
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26770
244