Package-level declarations
Types
Functions
Provides data to position an inner element of the floating element so that it appears centered to the reference element.
Optimizes the visibility of the floating element by choosing the placement that has the most space available automatically, without needing to specify a preferred placement. Alternative to flip
.
Optimizes the visibility of the floating element by flipping the placement
in order to keep it in view when the preferred placement(s) will overflow the clipping boundary. Alternative to autoPlacement
.
Provides data to hide the floating element in applicable situations, such as when it is not in the same clipping context as the reference element.
Provides improved positioning for inline reference elements that can span over multiple lines, such as hyperlinks or range selections.
Built-in limiter
that will stop shift()
at a certain point.
Modifies the placement by translating the floating element along the specified axes. A number (shorthand for mainAxis
or distance), or an axes configuration object may be passed.
Optimizes the visibility of the floating element by shifting it in order to keep it in view when it will overflow the clipping boundary.
Provides data that allows you to change the size of the floating element — for instance, prevent it from overflowing the clipping boundary or match the width of the reference element.