Function floating_ui_core::compute_position
source · pub fn compute_position<Element, Window>(
reference: &Element,
floating: &Element,
config: ComputePositionConfig<'_, Element, Window>
) -> ComputePositionReturnExpand description
Computes the x and y coordinates that will place the floating element next to a given reference element.
This export does not have any platform interface logic. You will need to write one for the platform you are using Floating UI with.
See Platform.