Update readme.md

This commit is contained in:
Dok11 2018-10-15 14:32:30 +03:00
parent f7771c8dfe
commit 10bdbfa6da
2 changed files with 4 additions and 2 deletions

View file

@ -32,8 +32,9 @@ A smooth 3D tilt javascript library forked from [Tilt.js (jQuery version)](https
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%)
"glare-prerender": false // false = VanillaTilt creates the glare elements for you, otherwise
"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
mouseEventElement: null // css-selector or link to HTML-element what will be listen mouse events
}
```

View file

@ -32,8 +32,9 @@ A smooth 3D tilt javascript library forked from [Tilt.js (jQuery version)](https
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%)
"glare-prerender": false // false = VanillaTilt creates the glare elements for you, otherwise
"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
mouseEventElement: null // css-selector or link to HTML-element what will be listen mouse events
}
```