🌈 Create new beautiful Compose Gradients with our new wesite ->
Object

SemanticsProperties

General semantics properties, mainly used for accessibility and testing.

Source set: Android
public object SemanticsProperties

General semantics properties, mainly used for accessibility and testing.

Each property is intended to be set by the respective SemanticsPropertyReceiver extension instead of used directly.

Properties

ContentDescription

Source set: Android
public val ContentDescription: SemanticsPropertyKey<List<String>> =
        SemanticsPropertyKey<List<String>>(
            name = "ContentDescription",
            mergePolicy = { parentValue, childValue ->
                parentValue?.toMutableList()?.also { it.addAll(childValue) } ?: childValue
            },
        )

TestTag

Source set: Android
public val TestTag: SemanticsPropertyKey<String> =
        SemanticsPropertyKey<String>(
            name = "TestTag",
            mergePolicy = { parentValue, _ ->
                // No merge
                parentValue
            },
        )

Content updated: