Function

pressed

Defines a Style to be applied when the component is pressed.

pressed

Source set: Common
@ExperimentalFoundationStyleApi
fun StyleScope.pressed(value: Style)

Defines a Style to be applied when the component is pressed. The properties within the provided value Style will override or merge with the base style of the component when a press interaction is detected.

Parameters

value The Style to apply on press.

Last updated: