ShiftOptions

Types

Link copied to clipboard
external interface Limiter

Properties

Link copied to clipboard
abstract external val altBoundary: Boolean?

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

Link copied to clipboard
abstract external val boundary: Boundary?

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

Link copied to clipboard
abstract external val crossAxis: Boolean

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

Link copied to clipboard
abstract external val elementContext: ElementContext?

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

Link copied to clipboard
abstract external val limiter: ShiftOptions.Limiter

Accepts a function that limits the shifting done in order to prevent detachment.

Link copied to clipboard
abstract external val mainAxis: Boolean

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

Link copied to clipboard
abstract external val padding: Padding?

Virtual padding for the resolved overflow detection offsets.

Link copied to clipboard
abstract external val rootBoundary: RootBoundary?

The root clipping area in which overflow will be checked.