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).
33 lines (32 loc) • 1.13 kB
TypeScript
import { SingleHoverEffectProps } from '../types';
interface Props extends SingleHoverEffectProps {
distortionClass?: string;
}
declare function goNext(): void;
declare function goPrev(): void;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
controllers?(_: {
funcs: {
goNext: typeof goNext;
goPrev: typeof goPrev;
};
}): any;
};
refs: {
container: HTMLDivElement;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
container: HTMLDivElement;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};