The createFilePondExtensionSet function creates an array of default extensions used by FilePond in the following order.
- FileInputSource is used to load files from the file input inside the
file-pondcustom element. - DataTransferLoader is used to load files inside datatransfers dropped on FilePond.
- ValueCallbackStore is used to link up the FilePond element
valueproperty with the internal state. - EntryListView renders the file list view.
When we set additional extensions using defineFilePond they’re automatically passed to createFilePondExtensionSet and added to the default extension list after FileInputSource.
const extensions = createFilePondExtensionSet(CanvasLoader, BlobLoader);
console.log(extensions);
// Logs:
// - FileInputSource
// - CanvasLoader
// - BlobLoader
// - DataTransferLoader
// - ValueCallbackStore
// - EntryListView