mirror of
https://github.com/micku7zu/vanilla-tilt.js
synced 2024-06-08 08:42:12 +02:00
Adding more flexibility for mouse move events +fix order 2
This commit is contained in:
parent
b5af945019
commit
506a1dc154
2
dist/vanilla-tilt.babel.js
vendored
2
dist/vanilla-tilt.babel.js
vendored
|
@ -33,8 +33,8 @@ var VanillaTilt = function () {
|
|||
this.updateBind = this.update.bind(this);
|
||||
this.resetBind = this.reset.bind(this);
|
||||
|
||||
this.settings = this.extendSettings(settings);
|
||||
this.element = element;
|
||||
this.settings = this.extendSettings(settings);
|
||||
this.elementListener = this.getElementListener();
|
||||
|
||||
this.reverse = this.settings.reverse ? -1 : 1;
|
||||
|
|
2
dist/vanilla-tilt.babel.min.js
vendored
2
dist/vanilla-tilt.babel.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/vanilla-tilt.js
vendored
2
dist/vanilla-tilt.js
vendored
|
@ -24,8 +24,8 @@ class VanillaTilt {
|
|||
this.updateBind = this.update.bind(this);
|
||||
this.resetBind = this.reset.bind(this);
|
||||
|
||||
this.settings = this.extendSettings(settings);
|
||||
this.element = element;
|
||||
this.settings = this.extendSettings(settings);
|
||||
this.elementListener = this.getElementListener();
|
||||
|
||||
this.reverse = this.settings.reverse ? -1 : 1;
|
||||
|
|
2
dist/vanilla-tilt.min.js
vendored
2
dist/vanilla-tilt.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -21,8 +21,8 @@ class VanillaTilt {
|
|||
this.updateBind = this.update.bind(this);
|
||||
this.resetBind = this.reset.bind(this);
|
||||
|
||||
this.settings = this.extendSettings(settings);
|
||||
this.element = element;
|
||||
this.settings = this.extendSettings(settings);
|
||||
this.elementListener = this.getElementListener();
|
||||
|
||||
this.reverse = this.settings.reverse ? -1 : 1;
|
||||
|
|
|
@ -32,8 +32,8 @@ var VanillaTilt = function () {
|
|||
this.updateBind = this.update.bind(this);
|
||||
this.resetBind = this.reset.bind(this);
|
||||
|
||||
this.settings = this.extendSettings(settings);
|
||||
this.element = element;
|
||||
this.settings = this.extendSettings(settings);
|
||||
this.elementListener = this.getElementListener();
|
||||
|
||||
this.reverse = this.settings.reverse ? -1 : 1;
|
||||
|
|
|
@ -21,8 +21,8 @@ export default class VanillaTilt {
|
|||
this.updateBind = this.update.bind(this);
|
||||
this.resetBind = this.reset.bind(this);
|
||||
|
||||
this.settings = this.extendSettings(settings);
|
||||
this.element = element;
|
||||
this.settings = this.extendSettings(settings);
|
||||
this.elementListener = this.getElementListener();
|
||||
|
||||
this.reverse = this.settings.reverse ? -1 : 1;
|
||||
|
|
Loading…
Reference in a new issue