# wx.hideKeyboard(Object object)

Start from base library version 2.8.2. Please remaining backward compatible.

with Promise style call: Supported

Mini Program plugin: Not supported

After input, textarea, etc., focus pulls up the keyboard, manually invoke this interface to close the keyboard

# parameter

# Object object

attribute type Default values Required Introductions
success function no Interface calls the successful callback function
fail function no Interface calls failed callback functions
complete function no Callback function at the end of an interface call (both successful and unsuccessful calls are executed)

# sample code

wx.hideKeyboard({
  complete: res => {
    console.log('hideKeyboard res', res)
  }
})