Constant freya_elements::elements::rect::overflow
source · pub const overflow: AttributeDescription;
Expand description
Specify how overflow should be handled.
Accepted values:
clip
none
§Example
fn app() -> Element {
rsx!(
rect {
overflow: "clip",
width: "100",
height: "100%",
rect {
width: "500",
height: "100%",
background: "red",
}
}
)
}