Package-level declarations

Types

Link copied to clipboard
external interface AutoUpdateOptions
Link copied to clipboard
sealed external interface Boundary
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
external interface Middleware : Middleware
Link copied to clipboard
external interface Platform
Link copied to clipboard
typealias ReferenceElement = Any
Link copied to clipboard
Link copied to clipboard
external interface VirtualElement

Custom positioning reference element.

Functions

Link copied to clipboard
external fun <R : ReferenceElement> autoUpdate(reference: R, floating: HTMLElement?, update: () -> Unit, options: AutoUpdateOptions? = definedExternally): () -> Unit

Automatically updates the position of the floating element when necessary. Should only be called when the floating element is mounted on the DOM or visible on the screen.

Link copied to clipboard
inline fun Boundary(value: Rect): Boundary
inline fun Boundary(value: ReadonlyArray<Element>): Boundary
inline fun Boundary(value: Element): Boundary