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.

19 lines 794 B
import { ISplitTextLetterMeta, ISplitTextStaticProps } from '../types'; type TBaseProps = Pick<ISplitTextStaticProps, 'ignore' | 'prepareText' | 'wordDelimiter' | 'wordDelimiterOutput'>; interface IProps extends TBaseProps { 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, ignore, ...props }: IProps): { wordsMeta: import("../types").ISplitTextWordMeta[]; lettersMeta: ISplitTextLetterMeta[]; }; export {}; //# sourceMappingURL=splitBase.d.ts.map