Host · class
BrowserFileDialogs
Explained in Display and the host.
class BrowserFileDialogs implements FileDialogsimport { BrowserFileDialogs } from '@driftengine/core';Methods
openFile
openFile(accept: readonly string[]): Promise<OpenedFile | null>| Parameter | Type | Description |
|---|---|---|
accept | readonly string[] |
saveFile
saveFile(name: string, bytes: Uint8Array): Promise<boolean>| Parameter | Type | Description |
|---|---|---|
name | string | |
bytes | Uint8Array |