SlotAttachment

fun interface SlotAttachment

An attachment to a host that holds children through a dedicated setter rather than Container.add.

Functions

Link copied to clipboard
abstract fun install(host: Container, component: Component, index: Int): () -> Unit

Attaches component to host, returning the action that detaches it again.