From dcdf2d7eeee474720d68a7c33e25827f1ebc44f7 Mon Sep 17 00:00:00 2001 From: Andrew Crites Date: Fri, 9 Feb 2018 17:45:58 -0500 Subject: [PATCH] fix(vanilla-tilt): adding glare options --- types/vanilla-tilt/index.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/types/vanilla-tilt/index.d.ts b/types/vanilla-tilt/index.d.ts index e24208f563..04fb2459d5 100644 --- a/types/vanilla-tilt/index.d.ts +++ b/types/vanilla-tilt/index.d.ts @@ -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 {