hover-effects-ts
Version:
A collection of beautiful hover effects for images using canvas
10 lines • 647 B
TypeScript
import { HoverEffect, HoverEffectOptions } from '../types';
export declare function createHoverEffect(options: HoverEffectOptions): HoverEffect;
/**
* Apply a hover effect to one or more DOM elements
* @param target - A CSS selector, HTMLElement, or NodeList of HTMLElements
* @param options - Configuration options for the hover effect
* @returns An array of HoverEffect instances, or a single HoverEffect if only one element was targeted
*/
export declare function applyHoverEffect(target: string | HTMLElement | NodeListOf<HTMLElement>, options: HoverEffectOptions): HoverEffect | HoverEffect[];
//# sourceMappingURL=effectFactory.d.ts.map