Constant freya_elements::elements::text::decoration_color
source · pub const decoration_color: AttributeDescription;
Expand description
Specify the decoration’s color in a text.
You can learn about the syntax of this attribute in Color Syntax
.
§Example
fn app() -> Element {
rsx!(
label {
decoration: "line-through",
decoration_color: "orange",
"Hello, World!"
}
)
}