⌂
›
Reference
›
TextSpan
TextSpan
TextSpan control. Build it with the text_span helper.
Example
text_span(
"Ruflet documentation",
url: "https://ruflet.dev",
on_click: ->(event) {}
)
Properties
semantics_labelspansspell_outstyle— Style overrides for the control.text— Text content of the control.url— URL the control loads or links to.
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_click— Fired when the control is clicked/tapped.on_enter— Fired when the pointer enters the control.on_exit— Fired when the pointer leaves the control.
Reference
- Family:
shared - Widget type:
textspan - Helper:
text_span