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:
Sheryl Hohman 2022-02-20 23:37:02 -08:00 committed by GitHub
parent c1c03594bb
commit 9f713825f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;