sesaparcours
    Preparing search index...
    • Show and place the drop-down. The drop-down is placed with an absolute "origin point" (x, y) - i.e., the arrow will point at this origin and box will positioned below or above it. If we can maintain the container bounds at the primary point, the arrow will point there, and the container will be positioned below it. If we can't maintain the container bounds at the primary point, fall-back to the secondary point and position above.

      Parameters

      • owner: Object

        The object showing the drop-down

      • rtl: boolean

        Right-to-left (true) or left-to-right (false).

      • primaryX: number

        Desired origin point x, in absolute px.

      • primaryY: number

        Desired origin point y, in absolute px.

      • secondaryX: number

        Secondary/alternative origin point x, in absolute px.

      • secondaryY: number

        Secondary/alternative origin point y, in absolute px.

      • Optionalopt_onHide: Function

        Optional callback for when the drop-down is hidden.

      Returns boolean

      True if the menu rendered at the primary origin point.