HTMLDwebFileSystemElement
WebComponentHTMLDwebFileSystemElementLess than 1 minute
An HTMLElement for accessing the file system;
Inherits from HTMLElement;
<dweb-file-system></dweb-file-system>
Properties
plugin
A FileSystemPlugin object;
writeFile
The FileSystemPlugin.writeFile() method;
getUri
The FileSystemPlugin.getUrl() method;
Methods
- None
Events
- No predefined events
Example
<body>
<dweb-file-system></dweb-file-system>
<script type="text/javascript">
const dwebFileSystem = document.querySelector("dweb-file-system");
dwebFileSystem.getUri({
path: "/path",
directory: "DOCUMENTS"
})
</script>
</body>
Cross-Platform Compatibility
Properties/Methods/Events | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
plugin | ✅ | ✅ | ✅ | X |
writeFile | ✅ | ✅ | ✅ | X |
getUri | ✅ | ✅ | ✅ | X |
Related Links
Powered by Waline v2.15.7