Function freya::components::WindowDragArea
pub fn WindowDragArea(__props: WindowDragAreaProps) -> Option<VNode>
Expand description
Allow dragging the window when the cursor drag this component with a left mouse click.
ยงExample
fn app() -> Element {
rsx!(
WindowDragArea {
label {
height: "100%",
width: "100%",
"Drag Me"
}
}
)
}