SizeOptions

external interface SizeOptions : 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

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

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.

Functions

Link copied to clipboard
abstract fun apply(args: SizeOptionsArgs): Promise<Unit>

Function that is called to perform style mutations to the floating element to change its size.