Other properties and options
This page includes reference documentation for the PopoverOptions
type used by multiple components in the Mapbox Search JS Web framework.
PopoverOptions
Options controlling the display of the Popover used in AddressAutofill, MapboxSearchBox, and MapboxGeocoder.
Object
Properties
Name | Description |
---|---|
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. | |
The distance gap between the popover and the reference element. Defaults to 5px. | |
placement(( | Positions the popover above or below the reference element. Defaults to 'bottom-start'. |
Was this section on PopoverOptions helpful?
Was this page helpful?