The object showing the drop-down
Right-to-left (true) or left-to-right (false).
Desired origin point x, in absolute px.
Desired origin point y, in absolute px.
Secondary/alternative origin point x, in absolute px.
Secondary/alternative origin point y, in absolute px.
Optionalopt_onHide: FunctionOptional callback for when the drop-down is hidden.
True if the menu rendered at the primary origin point.
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.