Skip to main content

HTMLDwebSafeAreaElement

BFChainWebComponentHTMLDwebSafeAreaElementLess than 1 minute

A WebComponent for accessing the system safe area;
Inherits from HTMLStateObserverElement;

<dweb-safe-area></dweb-safe-area>

Properties

Methods

  • None

Events

Example

<body>
  <dweb-safe-area></dweb-safe-area>
  <script type="text/javascript">
    const dwebSafeArea = document.querySelector("dweb-safe-area");
    dwebSafeArea.addEventListener('statechange', (customEvent) => {

    })
  </script>
</body>

Cross-Platform Compatibility

Properties/Methods/EventsAndroidiOSDesktop-DevDesktop
pluginX
stateX
getStateX
setStateX
setOverlayX
getOverlayX

Plaoc WebComponent

SafeAreaPlugin

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