SafeAreaPlugin.setOverlay()

BFChainAugust 11, 2023
  • Plugin
  • SafeAreaPlugin
  • setOverlay
Less than 1 minute

Set the overlay status; If set to true;
It indicates the content in the safe area will be overlapped by system bars; This setting will also modify the state of system bars;

SafeAreaPlugin.setOverlay(b) 

Parameters

  • b

    Accepts a boolean;

Return Value

  • A Promise object that resolves to null

Example

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

Platform Compatibility

Properties/Methods/EventsAndroidiOSDesktop-DevDesktop
setOverlayX

SafeAreaPlugin

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