childOf

infix inline fun <T : Component> T.childOf(parent: Component): T

Register this component to be a child of parent.

This allows for an Elementa-style syntax to be used for creating UIs.

Since

1.7.27