mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
fix(vanilla-tilt): adding glare options
This commit is contained in:
13
types/vanilla-tilt/index.d.ts
vendored
13
types/vanilla-tilt/index.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user