Constant freya_elements::elements::rect::position_bottom

source ·
pub const position_bottom: (&'static str, Option<&'static str>, bool);
Expand description

Specify the bottom position of an element when using position: "absolute" or position: "global". This supports pixels only.

§Example

fn app() -> Element {
    rsx!(
        rect {
            width: "100%",
            height: "100%",
            rect {
                position: "absolute",
                position_bottom: "15",
                position_right: "15",
                background: "black",
                width: "100",
                height: "100",
            }
        }
    )
}