Start native apps faster with the Composables CLI ->
Function

semantics

Add semantics key/value pairs to the layout node, for use in testing, accessibility, etc.

semantics

Source set: Android
public fun SubspaceModifier.semantics(
    properties: (SemanticsPropertyReceiver.() -> Unit)
): SubspaceModifier

Add semantics key/value pairs to the layout node, for use in testing, accessibility, etc.

Parameters

properties Builder block where the semantics properties are defined.

Last updated: