<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [web-tls](./web-tls.md) &gt; [OpenFilesOptions](./web-tls.openfilesoptions.md)

## OpenFilesOptions interface

打开文件的选项

<b>Signature:</b>

```typescript
export interface OpenFilesOptions 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [accept?](./web-tls.openfilesoptions.accept.md) |  | string\[\] \| string \| null | <i>(Optional)</i> 规定通过文件上传来提交的文件的类型 |
|  [capture?](./web-tls.openfilesoptions.capture.md) |  | string \| null | <i>(Optional)</i> 用于捕获的媒体设备类型 |
|  [directory?](./web-tls.openfilesoptions.directory.md) |  | boolean \| null | <i>(Optional)</i> |
|  [filter?](./web-tls.openfilesoptions.filter.md) |  | [FileFilter](./web-tls.filefilter.md)<!-- -->\[\] \| [FileFilter](./web-tls.filefilter.md) \| null | <i>(Optional)</i> 文件过滤器 |
|  [multiple?](./web-tls.openfilesoptions.multiple.md) |  | boolean \| null | <i>(Optional)</i> 是否允许选择多个文件 |

