Skip to main content

SafeAreaPlugin.setState()

BFChainPluginSafeAreaPluginsetStateLess than 1 minute

Set safe area state

SafeAreaPlugin.setState(state)

Parameters

  • state

    An object implementing partial State interface;
    Valid properties include: [overlay]

Return Value

  • A Promise object that resolves to null

Example

import { SafeAreaPlugin } from "@plaoc/plugins";
const value = SafeAreaPlugin.setState({overlay: true})

Platform Compatibility

Properties/Methods/EventsAndroidiOSDesktop-DevDesktop
setStateX

SafeAreaPlugin

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