# ExpandableItemsDefaults

# ExpandableItemsDefaults

Artifact:[androidx.wear.compose:compose-foundation](https://developer.android.com/jetpack/androidx/releases/wear-compose)  
[View Source](https://cs.android.com/search?q=file:androidx/wear/compose/foundation/Expandable.kt+class:androidx.wear.compose.foundation.ExpandableItemsDefaults)  
Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.2.0)

<br />

```
object ExpandableItemsDefaults
```

<br />

*** ** * ** ***

Contains the default values used by Expandable components.

## Summary

|                                                                                       ### Public properties                                                                                        |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>` | [collapseAnimationSpec](https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/ExpandableItemsDefaults#collapseAnimationSpec()) Default animation used to hide extra information. |
| [AnimationSpec](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationSpec)`<`[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`>` | [expandAnimationSpec](https://developer.android.com/reference/kotlin/androidx/wear/compose/foundation/ExpandableItemsDefaults#expandAnimationSpec()) Default animation used to show extra information.     |

## Public properties

### collapseAnimationSpec

Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.2.0)  

```
val collapseAnimationSpec: AnimationSpec<Float>
```

Default animation used to hide extra information.  

### expandAnimationSpec

Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.2.0)  

```
val expandAnimationSpec: AnimationSpec<Float>
```

Default animation used to show extra information.