UNPKG

vue-hover-effect

Version:

> WebGL-powered image hover transition effects for Vue 3, built on top of [Three.js](https://threejs.org/) and [GSAP](https://gsap.com/). Inspired by [Robin Delaporte's hover-effect](https://github.com/robin-dela/hover-effect).

8 lines (7 loc) 371 B
import { SingleHoverEffectController, SingleHoverEffectOptions } from '../../types'; /** * A typed version of Robin Delaporte’s original two-image hover effect. * @param {SingleHoverEffectOptions} opts * @return SingleHoverEffectController */ export declare function createSingleHoverEffect(opts: SingleHoverEffectOptions): SingleHoverEffectController | undefined;