mirror of
https://github.com/micku7zu/vanilla-tilt.js
synced 2024-06-09 09:12:13 +02:00
typo: delete errant line in options object docs (#106)
* fix typo on examples page * typo: same as my PR to main branch for README.md * typos: missing commas in options object * typos: fix comments alignment in options object (probably introduced at some point when adding in missing commas) * typo: delete errant line in options object docs
This commit is contained in:
parent
c1c03594bb
commit
9f713825f1
|
@ -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