SafeAreaPlugin.state

BFChainAugust 11, 2023
  • Plugin
  • plugin
  • StateObserve
  • state
Less than 1 minute

The state object of the system safe area; The property value is an object implementing the StateObserver interface;

Properties

  • state.currentState

    The current state object; The value is an object implementing partial State interface; currentState can be used to get and set states; [Do not manually set the value of currentState, it will be automatically updated] The value is undefined before the initial update completes; Valid currentState properties include: ["overlay", "insets", "cutoutInsets", "outerInsets"]

Methods

Events

  • None

Platform Compatibility

Properties/Methods/EventsAndroidiOSDesktop-DevDesktop
currentStateX
jsonlinesX
stopObserveX
onChangeX
getStateX

StatusBarPlugin

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