包详细信息

filepond-plugin-file-validate-type

pqina347.4kMIT1.2.9

File Type Validation Plugin for FilePond

自述文件

File Type Validation plugin for FilePond

npm version

https://pqina.nl/filepond/docs/patterns/plugins/file-validate-type/

The File Type Validation plugin handles blocking of files that are of the wrong type. When creating a FilePond instance based on a input type file, this plugin will automatically interpret the accept attribute value.

If you're having trouble setting the correct mime type, use this codepend demo to view the mime type detected by different brosers.

Demo