Skip to main content

hit_test_drop

Function hit_test_drop 

Source
pub fn hit_test_drop<Msg>(
    mounted: &Mounted<Msg>,
    computed: &ComputedLayout,
    x: f32,
    y: f32,
) -> Option<usize>
Expand description

Hit-test especĂ­fico para drop targets (nodos con on_drop). Usado durante un drag activo para resaltar el destino y para invocar el handler al soltar.