mirror of
https://github.com/micku7zu/vanilla-tilt.js
synced 2024-06-01 21:32:11 +02:00
typo: delete errant line in options object docs
This commit is contained in:
parent
409376bce5
commit
9961c6b1cc
|
@ -152,7 +152,6 @@
|
|||
"glare-prerender": false, // false = VanillaTilt creates the glare elements for you, otherwise
|
||||
// you need to add .js-tilt-glare>.js-tilt-glare-inner by yourself
|
||||
"mouse-event-element": null, // css-selector or link to HTML-element what will be listen mouse events
|
||||
// you need to add .js-tilt-glare>.js-tilt-glare-inner by yourself
|
||||
gyroscope: true, // Boolean to enable/disable device orientation detection,
|
||||
gyroscopeMinAngleX: -45, // This is the bottom limit of the device angle on X axis, meaning that a device rotated at this angle would tilt the element as if the mouse was on the left border of the element;
|
||||
gyroscopeMaxAngleX: 45, // This is the top limit of the device angle on X axis, meaning that a device rotated at this angle would tilt the element as if the mouse was on the right border of the element;
|
||||
|
|
Loading…
Reference in a new issue