# KeyboardActionScope

# KeyboardActionScope

Artifact:[androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation)  
[View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/text/KeyboardActions.kt+class:androidx.compose.foundation.text.KeyboardActionScope)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.0.0)
Common/AllAndroid/JVM
  - Cmn  

  ```
  interface KeyboardActionScope
  ```

*** ** * ** ***

This scope can be used to execute the default action implementation.

## Summary

|                             ### Public functions                              |
|-------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [defaultKeyboardAction](https://developer.android.com/reference/kotlin/androidx/compose/foundation/text/KeyboardActionScope#defaultKeyboardAction(androidx.compose.ui.text.input.ImeAction))`(imeAction: `[ImeAction](https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/ImeAction)`)` Runs the default implementation for the specified[action](https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/ImeAction). | Cmn |

## Public functions

### defaultKeyboardAction

Cmn  
Added in[1.10.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.10.0-rc01)  

```
fun defaultKeyboardAction(imeAction: ImeAction): Unit
```

Runs the default implementation for the specified[action](https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/ImeAction).