pub const rotate: (&'static str, Option<&'static str>, bool);
Expand description
The rotate
attribute let’s you rotate an element.
Compatible elements: all except text
.
§Example
fn app() -> Element {
rsx!(
label {
rotate: "180deg",
"Hello, World!"
}
)
}