OffsetOptions

external interface OffsetOptions

Properties

Link copied to clipboard

The same axis as crossAxis but applies only to aligned placements and inverts the end alignment. When set to a number, it overrides the crossAxis value.

Link copied to clipboard
open var crossAxis: Number?

The axis that runs along the alignment of the floating element. Represents the skidding between the reference and floating element.

Link copied to clipboard
open var mainAxis: Number?

The axis that runs along the side of the floating element. Represents the distance (gutter or margin) between the reference and floating element.