Type Alias PositioningCallback

PositioningCallback: ((rect: DOMRect) => {
    left: number;
    top: number;
})

Callback type to position an HTML element.

The callback gets the current placement of the settings as a DOMRect, and should return top and left positions in pixels, used with position: fixed.