Interface IStaticProps

Static properties for a component. These properties remain constant throughout the lifecycle of the component. This interface extends IStaticProps, inheriting the static properties defined for modules.

Hierarchy

Properties

__fixHelperStaticProps?: any
container: string | Element

The text container where the content will be split. Can be a CSS selector (string) or an actual HTML element.

hasLetters?: boolean

Specifies whether the text should be split into individual letters.

Default

true
hasLines?: boolean

Specifies whether the text should be split into lines.

Default

false
letterTag?: keyof HTMLElementTagNameMap

HTML tag to wrap each letter.

Default

span

lineTag?: keyof HTMLElementTagNameMap

HTML tag to wrap each line.

Default

span

resizeDebounce?: number

Debounce timeout for the resize event in milliseconds.

Default

0
viewportTarget?: keyof IViewportCallbackTypes

Determines the viewport target for resizing behavior.

Default

'any'
wordTag?: keyof HTMLElementTagNameMap

HTML tag to wrap each word.

Default

span