mirror of
https://github.com/micku7zu/vanilla-tilt.js
synced 2024-06-22 23:36:27 +02:00
Add file size
This commit is contained in:
parent
bfcd052766
commit
5830d047d3
|
@ -54,9 +54,9 @@ element.vanillaTilt.reset();
|
|||
### Install
|
||||
You can copy and include any of the following file:
|
||||
|
||||
* dest/vanillaTilt.js
|
||||
* dest/vanillaTilt.min.js
|
||||
* dest/vanillaTilt.babel.js
|
||||
* dest/vanillaTilt.babel.min.js
|
||||
* dest/vanillaTilt.js ~ 6kb
|
||||
* dest/vanillaTilt.min.js ~ 3.5kb
|
||||
* dest/vanillaTilt.babel.js ~ 8.5kb
|
||||
* dest/vanillaTilt.babel.min.js ~ 4.3kb
|
||||
|
||||
in your webiste.
|
|
@ -6,8 +6,8 @@
|
|||
*/
|
||||
"use strict";
|
||||
(function (undefined) {
|
||||
class VanillaTilt {
|
||||
|
||||
class VanillaTilt {
|
||||
constructor(element, settings = {}) {
|
||||
if (!(element instanceof Node)) {
|
||||
throw("Can't initialize VanillaTilt because " + element + " is not a Node.");
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
*/
|
||||
"use strict";
|
||||
(function (undefined) {
|
||||
class VanillaTilt {
|
||||
|
||||
class VanillaTilt {
|
||||
constructor(element, settings = {}) {
|
||||
if (!(element instanceof Node)) {
|
||||
throw("Can't initialize VanillaTilt because " + element + " is not a Node.");
|
||||
|
|
Loading…
Reference in a new issue