Skip to main content

HTMLDwebConfigElement

BFChainWebComponentConfigLess than 1 minute

A WebComponent that implements configuration data;
Inherits from HTMLElementopen in new window;

<dweb-config></dweb-config> 

Properties

Methods

  • None

Events

Supports any events, no predefined events;

Example

<body>

  <dweb-config></dweb-config>
  
  <button>check</button>

  <script type="module">

    import "@plaoc/plugins"
    
    const config = document.querySelector("dweb-config")!
    
    const btn = document.querySelector('button');
    
    btn.addEventListener('click', async () => {
    
      const url = await config.public_url;
      
    })
    
  </script>

</body>

Platform Compatibility

Properties/Methods/EventsAndroidiOSDesktop-DevDesktop
pluginX
public_urlX

Plaoc WebComponent

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