Interface ISplitTextLineMeta

SplitText Line Metadata

interface ISplitTextLineMeta {
    element: HTMLElement;
    words: ISplitTextWordMeta[];
    wrapper?: HTMLElement;
}

Properties

element: HTMLElement

HTML element representing a single line of split text.

Array of word objects within the line.

wrapper?: HTMLElement

HTML element representing a wrapper for the line element. Useful for animating the line with masks.

The element is created when props.hasLinesWrapper is true.