Raxol. UI. Components. Display. Text
(Raxol v2.6.0)
View Source
Styled text rendering with wrapping, alignment, and truncation.
Display-only widget -- no keyboard handling.
Props:
content(string) -- text to displaywrap(:word | :char | :none) -- wrapping mode, default:nonealign(:left | :center | :right) -- alignment within width, default:leftwidth(integer | nil) -- constraint for wrapping/alignment/truncationtruncate(boolean) -- truncate with ellipsis when exceeding width, defaultfalsestyle,theme,id-- standard
Summary
Functions
Callback implementation for Raxol.UI.Components.Base.Component.mount/1.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.
Callback implementation for Raxol.UI.Components.Base.Component.update/2.
Types
Functions
Callback implementation for Raxol.UI.Components.Base.Component.mount/1.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.
Callback implementation for Raxol.UI.Components.Base.Component.update/2.