Function freya_components::WindowDragArea
source · pub fn WindowDragArea(__props: WindowDragAreaProps) -> Element
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"
}
}
)
}