Optional__staticOptionalariaAllow aria-label. false prevents adding aria-label attributes to container. String value overrides the default aria-label.
The text container where the text will be split.
OptionalignoreDo not split certain elements. Supports string selectors, array of elements, or function.
OptionalletterLetter class name.
OptionallettersSpecifies whether the text should be split into individual letters.
OptionalletterHTML tag to wrap each letter.
OptionallineLine class name.
OptionallinesSpecifies whether the text should be split into lines.
OptionallinesSpecifies whether to wrap each line in an additional container.
OptionallineHTML tag to wrap each line.
OptionallineLine wrapper class name.
OptionalprepareOptional callback to preprocess text before it is split into words. This function receives the original text and should return the modified text. It is useful for languages like Chinese where standard word splitting may not work correctly.
OptionalresizeThe debounce delay for the resize event in milliseconds.
OptionalwordWord class name.
OptionalwordSpecifies a custom delimiter used to split text into words. By default, splitting occurs on regular whitespace.
OptionalwordProvides an alternative delimiter to use when outputting the split words. Useful when a custom input delimiter is used but the output should differ.
OptionalwordHTML tag to wrap each word.
Static properties for the SplitText module