Skip to main content
Version: 2.0.x

setEnabled

Use setEnabled method, to enable or disable module.

Parameters

TypeRequiredDescription
booleanyescontrol whether module is enabled

Example

import { AvoidSoftInput } from "react-native-avoid-softinput";

AvoidSoftInput.setEnabled(true);