Skip to main content

VirtualKeyboardPlugin.setStateByKey()

BFChainPluginVirtualKeyboardPluginsetStateByKeyLess 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/EventAndroidIOSDesktop-DevDesktop
setStateByKeyX

VirtualKeyboardPlugin

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7