onSoftInputHidden
Use onSoftInputHidden
method, if you want to listen to events when soft input is hidden.
Parameters
Type | Required | Description |
---|---|---|
() => void | yes | function called when soft input is hidden |
Example
import { AvoidSoftInput } from "react-native-avoid-softinput";
const unsubscribe = AvoidSoftInput.onSoftInputHidden(() => {
// Do sth
});
// later invoke unsubscribe.remove()