mirror of
https://github.com/micku7zu/vanilla-tilt.js
synced 2024-06-09 17:22:14 +02:00
Fix documented max option default value (#63)
This commit is contained in:
parent
e0e07613e2
commit
83e691f58a
|
@ -22,7 +22,7 @@ If you want to use this library in IE, you need to include a CustomEvent polyfil
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
reverse: false, // reverse the tilt direction
|
reverse: false, // reverse the tilt direction
|
||||||
max: 35, // max tilt rotation (degrees)
|
max: 15, // max tilt rotation (degrees)
|
||||||
startX: 0, // the starting tilt on the X axis, in degrees.
|
startX: 0, // the starting tilt on the X axis, in degrees.
|
||||||
startY: 0, // the starting tilt on the Y axis, in degrees.
|
startY: 0, // the starting tilt on the Y axis, in degrees.
|
||||||
perspective: 1000, // Transform perspective, the lower the more extreme the tilt gets.
|
perspective: 1000, // Transform perspective, the lower the more extreme the tilt gets.
|
||||||
|
|
Loading…
Reference in a new issue