diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 60f79df..d7f257f 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -5,3 +5,4 @@ - [Matteo Rigon](https://github.com/matteo-rigon) (Device orientation support) - [Corey Austin](https://github.com/lazyhummingbird) (Initial gyroscope position) - [rrroyal](https://github.com/rrroyal) (Whole document mouse events listening) +- [Andžs Pilskalns](https://github.com/Pilskalns) ("reset-to-start" feature) diff --git a/README.md b/README.md index 0ec10ac..17666c2 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ If you want to use this library in IE, you need to include a CustomEvent polyfil transition: true, // Set a transition on enter/exit. axis: null, // What axis should be enabled. Can be "x" or "y". reset: true, // If the tilt effect has to be reset on exit. - "reset-to-start": true, // Whether the exit reset will go to [0,0] (default) or [startX, startY] + "reset-to-start": true, // Whether the exit reset will go to [0,0] (default) or [startX, startY] easing: "cubic-bezier(.03,.98,.52,.99)", // Easing on enter/exit. glare: false, // if it should have a "glare" effect "max-glare": 1, // the maximum "glare" opacity (1 = 100%, 0.5 = 50%) @@ -115,6 +115,7 @@ Original library author: [Gijs Rogé](https://twitter.com/GijsRoge) - [Corey Austin](https://github.com/lazyhummingbird) (Initial gyroscope position) - [Sander Moolin](https://github.com/SaFrMo) - [rrroyal](https://github.com/rrroyal) (Whole document mouse events listening) +- [Andžs Pilskalns](https://github.com/Pilskalns) ("reset-to-start" feature) ### Other projects