Function floating_ui_dom::compute_position

source ·
pub fn compute_position(
    reference: ElementOrVirtual<'_>,
    floating: &Element,
    config: Option<ComputePositionConfig>
) -> ComputePositionReturn
Expand description

Computes the x and y coordinates that will place the floating element next to a given reference element.