Function freya::components::WindowDragArea
source · 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"
}
}
)
}