mirror of
https://github.com/micku7zu/vanilla-tilt.js
synced 2024-06-02 13:52:11 +02:00
Add 1.6.0 compiled versions
This commit is contained in:
parent
06f729f625
commit
a4fb9a99cc
7
dist/vanilla-tilt.babel.js
vendored
7
dist/vanilla-tilt.babel.js
vendored
|
@ -87,7 +87,7 @@ var VanillaTilt = function () {
|
|||
this.onMouseEnterBind = this.onMouseEnter.bind(this);
|
||||
this.onMouseMoveBind = this.onMouseMove.bind(this);
|
||||
this.onMouseLeaveBind = this.onMouseLeave.bind(this);
|
||||
this.onWindowResizeBind = this.onWindowResizeBind.bind(this);
|
||||
this.onWindowResizeBind = this.onWindowResize.bind(this);
|
||||
this.onDeviceOrientationBind = this.onDeviceOrientation.bind(this);
|
||||
|
||||
this.elementListener.addEventListener("mouseenter", this.onMouseEnterBind);
|
||||
|
@ -276,7 +276,8 @@ var VanillaTilt = function () {
|
|||
"left": "0",
|
||||
"width": "100%",
|
||||
"height": "100%",
|
||||
"overflow": "hidden"
|
||||
"overflow": "hidden",
|
||||
"pointer-events": "none"
|
||||
});
|
||||
|
||||
Object.assign(this.glareElement.style, {
|
||||
|
@ -300,7 +301,7 @@ var VanillaTilt = function () {
|
|||
});
|
||||
};
|
||||
|
||||
VanillaTilt.prototype.onWindowResizeBind = function onWindowResizeBind() {
|
||||
VanillaTilt.prototype.onWindowResize = function onWindowResize() {
|
||||
this.updateGlareSize();
|
||||
};
|
||||
|
||||
|
|
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
7
dist/vanilla-tilt.js
vendored
7
dist/vanilla-tilt.js
vendored
|
@ -74,7 +74,7 @@ class VanillaTilt {
|
|||
this.onMouseEnterBind = this.onMouseEnter.bind(this);
|
||||
this.onMouseMoveBind = this.onMouseMove.bind(this);
|
||||
this.onMouseLeaveBind = this.onMouseLeave.bind(this);
|
||||
this.onWindowResizeBind = this.onWindowResizeBind.bind(this);
|
||||
this.onWindowResizeBind = this.onWindowResize.bind(this);
|
||||
this.onDeviceOrientationBind = this.onDeviceOrientation.bind(this);
|
||||
|
||||
this.elementListener.addEventListener("mouseenter", this.onMouseEnterBind);
|
||||
|
@ -265,7 +265,8 @@ class VanillaTilt {
|
|||
"left": "0",
|
||||
"width": "100%",
|
||||
"height": "100%",
|
||||
"overflow": "hidden"
|
||||
"overflow": "hidden",
|
||||
"pointer-events": "none"
|
||||
});
|
||||
|
||||
Object.assign(this.glareElement.style, {
|
||||
|
@ -289,7 +290,7 @@ class VanillaTilt {
|
|||
});
|
||||
}
|
||||
|
||||
onWindowResizeBind() {
|
||||
onWindowResize() {
|
||||
this.updateGlareSize();
|
||||
}
|
||||
|
||||
|
|
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
|
@ -71,7 +71,7 @@ class VanillaTilt {
|
|||
this.onMouseEnterBind = this.onMouseEnter.bind(this);
|
||||
this.onMouseMoveBind = this.onMouseMove.bind(this);
|
||||
this.onMouseLeaveBind = this.onMouseLeave.bind(this);
|
||||
this.onWindowResizeBind = this.onWindowResizeBind.bind(this);
|
||||
this.onWindowResizeBind = this.onWindowResize.bind(this);
|
||||
this.onDeviceOrientationBind = this.onDeviceOrientation.bind(this);
|
||||
|
||||
this.elementListener.addEventListener("mouseenter", this.onMouseEnterBind);
|
||||
|
@ -262,7 +262,8 @@ class VanillaTilt {
|
|||
"left": "0",
|
||||
"width": "100%",
|
||||
"height": "100%",
|
||||
"overflow": "hidden"
|
||||
"overflow": "hidden",
|
||||
"pointer-events": "none"
|
||||
});
|
||||
|
||||
Object.assign(this.glareElement.style, {
|
||||
|
@ -286,7 +287,7 @@ class VanillaTilt {
|
|||
});
|
||||
}
|
||||
|
||||
onWindowResizeBind() {
|
||||
onWindowResize() {
|
||||
this.updateGlareSize();
|
||||
}
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ var VanillaTilt = function () {
|
|||
this.onMouseEnterBind = this.onMouseEnter.bind(this);
|
||||
this.onMouseMoveBind = this.onMouseMove.bind(this);
|
||||
this.onMouseLeaveBind = this.onMouseLeave.bind(this);
|
||||
this.onWindowResizeBind = this.onWindowResizeBind.bind(this);
|
||||
this.onWindowResizeBind = this.onWindowResize.bind(this);
|
||||
this.onDeviceOrientationBind = this.onDeviceOrientation.bind(this);
|
||||
|
||||
this.elementListener.addEventListener("mouseenter", this.onMouseEnterBind);
|
||||
|
@ -275,7 +275,8 @@ var VanillaTilt = function () {
|
|||
"left": "0",
|
||||
"width": "100%",
|
||||
"height": "100%",
|
||||
"overflow": "hidden"
|
||||
"overflow": "hidden",
|
||||
"pointer-events": "none"
|
||||
});
|
||||
|
||||
Object.assign(this.glareElement.style, {
|
||||
|
@ -299,7 +300,7 @@ var VanillaTilt = function () {
|
|||
});
|
||||
};
|
||||
|
||||
VanillaTilt.prototype.onWindowResizeBind = function onWindowResizeBind() {
|
||||
VanillaTilt.prototype.onWindowResize = function onWindowResize() {
|
||||
this.updateGlareSize();
|
||||
};
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "vanilla-tilt",
|
||||
"version": "1.5.0",
|
||||
"version": "1.6.0",
|
||||
"description": "A smooth 3D tilt javascript library forked from Tilt.js",
|
||||
"main": "lib/vanilla-tilt.js",
|
||||
"module_es2015": "lib/vanilla-tilt.es2015.js",
|
||||
|
|
Loading…
Reference in a new issue