bn.onKeyboardHeightChange
▸ onKeyboardHeightChange(cb): void
description Listens on the keyboard height changes
example
function callback(res) {
console.log(res.height)
}
bn.onKeyboardHeightChange(callback)
Parameters
| Name | Type | Description |
|---|---|---|
cb | onKeyboardHeightChangeCallback | Callback on keyboard height change |
Returns
void
onKeyboardHeightChangeCallback
Ƭ onKeyboardHeightChangeCallback: (result: EventKeyboardHeightChangePayload) => void
Type declaration
▸ (result): void
Parameters
| Name | Type |
|---|---|
result | EventKeyboardHeightChangePayload |
Returns
void
Interface: EventKeyboardHeightChangePayload
| Name | Type | Description |
|---|---|---|
| height | number | height of keyboard |