autoUpdate

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

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.