UNPKG

vevet

Version:

Vevet is a JavaScript library for creative development that simplifies crafting rich interactions like split text animations, carousels, marquees, preloading, and more.

15 lines 554 B
import { ISplitTextLetterMeta, ISplitTextStaticProps, ISplitTextWordMeta } from '../types'; interface IProps { wordsMeta: ISplitTextWordMeta[]; classname: string; tagName: keyof HTMLElementTagNameMap; ignore: ISplitTextStaticProps['ignore']; } /** * Wraps each letter in every word inside the container with the specified HTML tag and class name. */ export declare function wrapLetters({ wordsMeta, classname, tagName, ignore }: IProps): { lettersMeta: ISplitTextLetterMeta[]; }; export {}; //# sourceMappingURL=wrapLetters.d.ts.map