# RemoteCollapsibleRowScope

> Scope for the children of [RemoteCollapsibleRow].

## API Reference

> Source set: JvmAndAndroid

```kotlin
public sealed interface RemoteCollapsibleRowScope : RemoteRowScope
```

Scope for the children of [RemoteCollapsibleRow](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/composable-functions/RemoteCollapsibleRow/api.md).

## Functions

### collapsiblePriority

> Source set: JvmAndAndroid

```kotlin
public fun RemoteModifier.collapsiblePriority(priority: Float): RemoteModifier
```

Sets the collapsible priority of the child.

Priority determines the order in which children are hidden when space is limited. Higher
priority items remain visible longer. Items with the same priority are hidden sequentially in
reverse layout order (last child with same priority is hidden first).

Example of assigning collapsible priorities to children in a [RemoteCollapsibleRow](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/composable-functions/RemoteCollapsibleRow/api.md):

#### Parameters

| | |
| --- | --- |
| priority | priority of the child; higher values are prioritized to remain visible longer |

#### Return

a [RemoteModifier](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/interfaces/RemoteModifier/api.md) that assigns horizontal collapsible `priority` to the child
