fix(vanilla-tilt): adding glare options

This commit is contained in:
Andrew Crites
2018-02-09 17:45:58 -05:00
parent 56ce1312c8
commit dcdf2d7eee

View File

@@ -47,6 +47,19 @@ export namespace VanillaTilt {
* Easing on enter/exit.
*/
easing?: string;
/**
* if it should have a "glare" effect
*/
glare?: boolean;
/**
* the maximum "glare" opacity
*/
"max-glare"?: number;
/**
* false = VanillaTilt creates the glare elements for you, otherwise
* you need to add .js-tilt-glare>.js-tilt-glare-inner by yourself
*/
"glare-prerender"?: boolean;
}
interface TiltValues {