SafeAreaPlugin.setState()
PluginSafeAreaPluginsetStateLess 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/Events | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
setState | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7