VirtualKeyboardPlugin.setStateByKey()
PluginVirtualKeyboardPluginsetStateByKeyLess than 1 minute
set the value of a property
VirtualKeyboardPlugin.setStateByKey(key, value)
parameters
key
String, the name of the state property to be set
The list of valid attributes includes:[overlay]
value
The value of the state property that needs to be set;
The legal attribute value range refers to the value of VirtualKeyboardPlugin.state attribute;
return value
Return a Promise object that resolves to null;
Example
import { virtualKeyboardPlugin } from "@plaoc/plugins";
const value = virtualKeyboardPlugin.setStateByKey("overlay", true)
Platform Compatibility
Property/Method/Event | Android | IOS | Desktop-Dev | Desktop |
---|---|---|---|---|
setStateByKey | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7