メインコンテンツまでスキップ

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

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'.
        このsection on PopoverOptionsは役に立ちましたか?
        このpageは役に立ちましたか?