react-motion
Advanced tools
Comparing version 0.4.5 to 0.4.6
{ | ||
"name": "react-motion", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"homepage": "https://github.com/chenglou/react-motion", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "react-motion", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"description": "A spring that solves your animation problems.", | ||
@@ -32,3 +32,3 @@ "main": "lib/react-motion.js", | ||
"karma-jasmine-diff-reporter": "^0.3.2", | ||
"karma-phantomjs-launcher": "^0.2.0", | ||
"karma-phantomjs-launcher": "^1.0.0", | ||
"karma-webpack": "^1.7.0", | ||
@@ -35,0 +35,0 @@ "lodash.range": "^3.0.1", |
@@ -268,2 +268,7 @@ # React-Motion | ||
##### - didLeave?: (styleThatLeft: `{key: string, data?: any}`) => void | ||
Optional. Defaults to `() => {}`. | ||
- `styleThatLeft`: the `{key:..., data:...}` that was removed after the finished transition. | ||
##### - willEnter?: (styleThatEntered: TransitionStyle) => PlainStyle | ||
@@ -270,0 +275,0 @@ Optional. Defaults to `styleThatEntered => stripStyle(styleThatEntered.style)`. Where `stripStyle` turns `{x: spring(10), y: spring(20)}` into `{x: 10, y: 20}`. |
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
273279
309