Keyboard module to control keyboard events.
Usage
The Keyboard module allows you to listen for native events and react to them, as well as make changes to the keyboard, like dismissing it.Reference
Methods
addListener()
addListener function connects a JavaScript function to an identified native keyboard notification event.
This function then returns the reference to the listener.
Parameters:
eventName
This can be any of the following:
keyboardWillShowkeyboardDidShowkeyboardWillHidekeyboardDidHidekeyboardWillChangeFramekeyboardDidChangeFrame
removeListener()
dismiss()
scheduleLayoutAnimation
TextInput (or other keyboard accessory view) size or position changes with keyboard movements. It is a wrapper over LayoutAnimation.configureNext(), that automatically animates views to their new positions when the next layout happens.

