Releases: danivalls/react-tilt-3d
0.5.2 - Fix gyro permissions issue for iOS devices
Package published to npmjs: https://www.npmjs.com/package/react-tilt-3d/v/0.5.2
Install with npm: npm i react-tilt-3d@0.5.2
Install with yarn: yarn add react-tilt-3d@0.5.2
0.5.1 - Fix gyro detection for some devices
Package published to npmjs: https://www.npmjs.com/package/react-tilt-3d/v/0.5.1
Install with npm: npm i react-tilt-3d@0.5.1
Install with yarn: yarn add react-tilt-3d@0.5.1
0.5.0 - Added gyro support
Package published to npmjs: https://www.npmjs.com/package/react-tilt-3d/v/0.5.0
Install with npm: npm i react-tilt-3d@0.5.0
Install with yarn: yarn add react-tilt-3d@0.5.0
0.4.0 - Add prop to control transition-timing-function
Package published to npmjs: https://www.npmjs.com/package/react-tilt-3d/v/0.4.0
Install with npm: npm i react-tilt-3d@0.4.0
Install with yarn: yarn add react-tilt-3d@0.4.0
Changelog
- Added prop to control the transition-timing-function. This prop can have any default css transition in addition of a custom one called "bounce".
0.3.1 - Reworked function to calculate tilt
Package published to npmjs: https://www.npmjs.com/package/react-tilt-3d/v/0.3.1
Install with npm: npm i react-tilt-3d@0.3.1
Install with yarn: yarn add react-tilt-3d@0.3.1
0.3.0 - Added tilt events
Package published to npmjs: https://www.npmjs.com/package/react-tilt-3d/v/0.3.0
Install with npm: npm i react-tilt-3d@0.3.0
Install with yarn: yarn add react-tilt-3d@0.3.0
Changelog:
- Added onTiltStart callback. It will be called when any tilt axis gets a value different than 0.
- Added onTiltEnd callback. It will be called when the tilt is 0 for both axis.
- Added onTiltChange callback. It will be called any time the tilt changes.
0.2.16 - Improve hovering detection
Package published to npmjs: https://www.npmjs.com/package/react-tilt-3d/v/0.2.16
Install with npm: npm i react-tilt-3d@0.2.16
Install with yarn: yarn add react-tilt-3d@0.2.16
0.2.15
0.2.14
0.2.13
https://www.npmjs.com/package/react-tilt-3d/v/0.2.13
npm i react-tilt-3d@0.2.13