Constant freya_elements::elements::text::decoration
source · pub const decoration: AttributeDescription;
Expand description
Specify the decoration in a text.
Accepted values:
underline
line-through
overline
§Example
fn app() -> Element {
rsx!(
label {
decoration: "line-through",
"Hello, World!"
}
)
}