Function freya::prelude::dioxus_elements::onglobalfilehovercancelled
pub fn onglobalfilehovercancelled<E, T>(
_f: impl FnMut(Event<FileData>) -> E + 'static
) -> Attributewhere
E: EventReturn<T>,
Expand description
The onglobalfilehovercancelled
event fires when the user cancels the hovering of a file over the window. It’s the opposite of onglobalfilehover
.
Event Data: FileData
§Example
fn app() -> Element {
rsx!(
rect {
width: "100%",
height: "100%",
background: "black",
onglobalfilehovercancelled: |e| println!("File hover cancelled: {e:?}")
}
)
}