We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22bbe20 commit 9acbd9aCopy full SHA for 9acbd9a
sites/cheerpx/src/content/docs/12-reference/CheerpX.OverlayDevice/create.md
@@ -0,0 +1,18 @@
1
+---
2
+title: create
3
+description: Virtual filesystems and how to use them
4
5
+
6
+```ts
7
+namespace CheerpX {
8
+ class OverlayDevice {
9
+ static async create(baseDevice: Device, overlayDevice: Device): Promise<OverlayDevice>;
10
+ }
11
+}
12
+```
13
14
+## Parameters
15
16
+- **baseDevice (`Device`)** - The underlying device (e.g., `HttpBytesDevice`, `IDBDevice`) that serves as the base layer for the filesystem.
17
18
+- **overlayDevice (`Device`)** - The writable layer that will overlay the base device, enabling persistent changes.
0 commit comments