sesaparcours
    Preparing search index...
    • Get the x positions for the left side of the DropDownDiv and the arrow, accounting for the bounds of the workspace.

      Parameters

      • sourceX: number

        Desired origin point x, in absolute px.

      • boundsLeft: number

        The left edge of the bounding element, in absolute px.

      • boundsRight: number

        The right edge of the bounding element, in absolute px.

      • divWidth: number

        The width of the div in px.

      Returns { arrowX: number; divX: number }

      An object containing metrics for the x positions of the left side of the DropDownDiv and the arrow.