onAll

fun <T : Component> Component.onAll(cls: Class<T>, action: (T) -> Unit)

Perform a function on all matching components (itself and its children) of the given class.

Since

1.8.3


inline fun <T : Component> Component.onAll(noinline action: (T) -> Unit)

Perform a function on all matching components (itself and its children) of the given type.

Since

1.8.3