UseFloatingOptions
Types
Link copied to clipboard
Link copied to clipboard
typealias WhileElementsMounted<R> = (reference: R, floating: HTMLElement, update: () -> Unit) -> () -> Unit
Properties
Link copied to clipboard
Object containing the reference and floating elements.
Link copied to clipboard
Array of middleware objects to modify the positioning or provide data for rendering.
Link copied to clipboard
A callback invoked when both the reference and floating elements are mounted, and cleaned up when either is unmounted. This is useful for setting up event listeners (e.g. pass autoUpdate).