pub fn onglobalpointerup<E, T>(
    _f: impl FnMut(Event<PointerData>) -> E + 'static
) -> Attribute
where E: EventReturn<T>,
Expand description

The globalpointerup event fires when the user releases the point anywhere in the app.

Event Data: PointerData

§Example

fn app() -> Element {
    rsx!(
        rect {
            onglobalpointerup: |_| println!("Pointer released somewhere else!")
        }
        rect {
            width: "100",
            height: "100",
            background: "red",
            onclick: |_| println!("Clicked!")
        }
    )
}