Builder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Add any ref callbacks contained in another ref scope.

Link copied to clipboard
fun disposableRef(vararg keys: Any?, effect: DisposableEffectScope.(TElement) -> DisposableEffectResult)

Like ref, but will get triggered both when the element is added to and removed from the DOM.

Link copied to clipboard
fun ref(vararg keys: Any?, handle: (TElement) -> Unit)

Register a listener that will be triggered with the raw html element whenever it gets added to the DOM.