HTMLDwebBiometricsElement
WebComponentHTMLDwebBiometricsElementLess than 1 minute
HTMLDwebBiometricsElement is a WebComponent that implements biometrics.
Inherits from HTMLElement;
<dweb-biometrics></dweb-biometrics>
Properties
plugin
The property value is the BiometricsPlugin object
check
The property value is the BiometricsPlugin.check() method;
biometrics
The property is just the BiometricsPlugin.biometrics() method
Methods
- None
Events
Supports any events, no predefined events;
Example
<body>
<dweb-biometrics></dweb-biometrics>
<button>check</button>
<script type="module">
import "@plaoc/plugins"
const biometrics = document.querySelector("dweb-biometrics")!
const btn = document.querySelector('button');
btn.addEventListener('click', async () => {
const res = await biometrics.check();
})
</script>
</body>
Platform Compatibility
Properties/Methods/Events | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
plugin | ✅ | ✅ | ✅ | X |
check | ✅ | ✅ | ✅ | X |
biometrics | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7