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.

18 lines 620 B
import { ISplitTextLetterMeta } from '../types'; interface IProps { container: HTMLElement; letterClassName: string; wordClassName: string; hasLetters: boolean; letterTag: keyof HTMLElementTagNameMap; wordTag: keyof HTMLElementTagNameMap; } /** * Splits text in the container into words and optionally into letters. */ export declare function splitBase({ container, letterClassName, wordClassName, hasLetters, letterTag, wordTag, }: IProps): { wordsMeta: import("../types").ISplitTextWordMeta[]; lettersMeta: ISplitTextLetterMeta[]; }; export {}; //# sourceMappingURL=splitBase.d.ts.map