FloatConfig
Defined in: ui/src/floating.ts:14
Per-floating-element config. All optional; the floating layer fills
sensible defaults (computePosition defaults: center placement, flip +
shift on). maxWidth caps content width; it always also clamps to the
space available at the resolved side so a bubble can’t run off-screen.
Properties
Section titled “Properties”
optionalflip?:boolean
Defined in: ui/src/floating.ts:19
maxWidth?
Section titled “maxWidth?”
optionalmaxWidth?:number
Defined in: ui/src/floating.ts:18
offset?
Section titled “offset?”
optionaloffset?:number
Defined in: ui/src/floating.ts:16
padding?
Section titled “padding?”
optionalpadding?:number
Defined in: ui/src/floating.ts:17
placement?
Section titled “placement?”
optionalplacement?:Placement
Defined in: ui/src/floating.ts:15
shift?
Section titled “shift?”
optionalshift?:boolean
Defined in: ui/src/floating.ts:20