Constant freya::elements::paragraph::decoration_style
pub const decoration_style: (&'static str, Option<&'static str>, bool);
Expand description
Specify the decoration’s style in a text.
Accepted values:
solid
(default)double
dotted
dashed
wavy
§Example
fn app() -> Element {
rsx!(
label {
decoration: "line-through",
decoration_style: "dotted",
"Hello, World!"
}
)
}