layoutFloat
layoutFloat(
insts,maxWidth):Dimensions
Defined in: ui/src/floating.ts:201
Lay out a stack of UI nodes shrink-to-content (optionally capped by
maxWidth, which wraps text). Returns the stacked content size. Shared by
attachTooltip (a single node) and the React side (reconciler roots).
Parameters
Section titled “Parameters”readonly UIElement[]
maxWidth
Section titled “maxWidth”number | undefined
Returns
Section titled “Returns”Dimensions