Loading...
Set type
to words
, the text will be split by individual words.
Loading...
Set type
to lines
, the text will be split by individual lines.
Loading...
Set splitTextVars
with the code to reveal each line as if it's masked.
Loading...
Set gsapVars
with the code, and the text will appear as if it's coming from broken pieces.
Loading...
Prop | Type | Default |
---|---|---|
type | chars words lines | chars |
gsapVars | gsap.TweenVars | - |
splitTextVars | SplitText.Vars | - |
The source code is available on GitHub.