SafeAreaPlugin.getOverlay()
PluginSafeAreaPlugingetOverlayLess than 1 minute
Query the overlay status of the safe area;
SafeAreaPlugin.getOverlay()
Parameters
- None
Return Value
- A Promise object that resolves to a boolean;
If the resolved value is true, it indicates that the content in the safe area will be overlapped by system bars;
If the resolved value is false, it indicates that the content in the safe area will not be overlapped by system bars;
Example
import { SafeAreaPlugin } from "@plaoc/plugins";
const value = SafeAreaPlugin.getOverlay()
Platform Compatibility
Properties/Methods/Events | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
getOverlay | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7