minigame-std
Version:
Mini Game Standard Development Library.
22 lines (12 loc) • 791 B
Markdown
[**minigame-std**](../../../README.md)
***
[minigame-std](../../../README.md) / [fs](../README.md) / DownloadFileOptions
# Interface: DownloadFileOptions
Defined in: [src/std/fs/fs\_define.ts:34](https://github.com/JiangJie/minigame-std/blob/fdb22241c47c2e98329a4c62befde728957e03ee/src/std/fs/fs_define.ts#L34)
Options for downloading files.
## Extends
- `Omit`\<`WechatMinigame.DownloadFileOption`, `"url"` \| `"filePath"` \| `"success"` \| `"fail"`\>
## Properties
| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="onprogress"></a> `onProgress?` | (`progressResult`: `IOResult`\<`FetchProgress`\>) => `void` | [src/std/fs/fs\_define.ts:35](https://github.com/JiangJie/minigame-std/blob/fdb22241c47c2e98329a4c62befde728957e03ee/src/std/fs/fs_define.ts#L35) |