compute_position

Function compute_position 

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

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