# Javascript: FileDroppedEventArgs.fileType Property

> The MIME type of the file.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: FileDroppedEventArgs.fileType Property
- **152 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/filedroppedeventargs/filetype-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/filedroppedeventargs/filetype-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/filedroppedeventargs/filetype-property/llms-full.txt

---

### Description

The MIME type of the file.

### Syntax

```javascript
<string> FileDroppedEventArgs.fileType
```

### Examples

The following example demonstrates `FileDroppedEventArgs.fileType` in a practical document-editing workflow. The MIME type of the file.

```javascript
function inspectFileType(fileDroppedEventArgs) {
    const fileType = fileDroppedEventArgs.fileType;
    console.log("file type:", fileType);
}
```

---

## Nearby

- **Previous:** [Javascript: FileDroppedEventArgs.fileSize Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/filedroppedeventargs/filesize-property/llms-full.txt)
- **Next:** [Footnote Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/footnote/llms-full.txt)
