modify

fun UIElement.modify(modifier: (modifier: Modifier) -> Unit): UIElement

Modify the UIElement using a specified modifier function.

Return

this

Parameters

modifier

callback function that returns the UIElement modifier's in order to be able to edit the modifier of the UIElement.