mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
37 lines
651 B
Markdown
37 lines
651 B
Markdown
---
|
|
title: onKeyboardShown()
|
|
---
|
|
|
|
## Summary
|
|
|
|
The **`onKeyboardShown()`** event is called when the keyboard has been
|
|
shown.
|
|
|
|
## Syntax
|
|
|
|
``` javascript
|
|
public void onKeyboardShown()
|
|
```
|
|
|
|
## Description
|
|
|
|
Implement this method to handle keyboard shown event.
|
|
|
|
## Examples
|
|
|
|
### Example: Using `onKeyboardShown()`
|
|
|
|
The following script illustrate the use of `onKeyboardShown()`:
|
|
|
|
``` javascript
|
|
@Override
|
|
public void onKeyboardShown() {
|
|
// handle keyboard shown event here
|
|
}
|
|
```
|
|
|
|
## See also
|
|
|
|
- [`onKeyboardChanged()`](onKeyboardChanged)
|
|
- [`onKeyboardDismissed()`](onKeyboardDismissed)
|
|
- [`onKeyboardLoaded()`](onKeyboardLoaded)
|