Skip to main content

Other properties and options

Public beta for Mapbox Search JS
Mapbox Search JS is in public beta. During the public beta phase, frameworks may be subject to potential changes as they stabilize.

This page includes reference documentation for the PopoverOptions type used by multiple components in the Mapbox Search JS Web framework.

PopoverOptions

Object

Properties

flip(boolean): If true, the popover will flip to the opposite side of the reference element to try to keep it in view when scrolling out of frame. Defaults to false.
    offset(number): The distance gap between the popover and the reference element. Defaults to 5px.
      placement(("top-start" | "bottom-start")): Positions the popover above or below the reference element. Defaults to 'bottom-start'.
        Was this section on PopoverOptions helpful?
        Was this page helpful?