FlipOptions

external interface FlipOptions : DetectOverflowOptions

Properties

Link copied to clipboard
open var altBoundary: Boolean?

Whether to check for overflow using the alternate element's boundary (clippingAncestors boundary only).

Link copied to clipboard
open var boundary: Boundary?

The clipping element(s) or area in which overflow will be checked.

Link copied to clipboard
open var crossAxis: Boolean?

The axis that runs along the alignment of the floating element. Determines whether overflow along this axis is checked to perform a flip.

Link copied to clipboard

The element in which overflow is being checked relative to a boundary.

Link copied to clipboard

Whether to allow fallback to the perpendicular axis of the preferred placement, and if so, which side direction along the axis to prefer.

Link copied to clipboard

Placements to try sequentially if the preferred placement does not fit.

Link copied to clipboard

What strategy to use when no placements fit.

Link copied to clipboard

Whether to flip to placements with the opposite alignment if they fit better.

Link copied to clipboard
open var mainAxis: Boolean?

The axis that runs along the side of the floating element. Determines whether overflow along this axis is checked to perform a flip.

Link copied to clipboard
open var padding: Padding?

Virtual padding for the resolved overflow detection offsets.

Link copied to clipboard

The root clipping area in which overflow will be checked.