Constant freya_elements::label::rotate

source ·
pub const rotate: AttributeDescription;
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!"
        }
    )
}