filepond
Version:
FilePond, where files go to stretch their bits.
20 lines (19 loc) • 774 B
TypeScript
export interface FileInputSourceOptions {
/** An HTMLInputElement or a QueryString selector */
element?: HTMLInputElement | string;
/** Should we reset the input every time a `FileList` is added */
resetFilesOnAdd?: boolean;
/** Where to add new files, defaults to index `0` */
insertIndex?: number;
/** Set to true to temporarily prevent adding of files, this will retain the source state on the extension */
preventAddEntries?: boolean;
}
export declare const FileInputSource: import("./common/createExtension.js").Extension;
declare module '../index.js' {
interface FilePondElement {
FileInputSource: FileInputSourceOptions;
}
interface DefineFilePondOptions {
FileInputSource?: FileInputSourceOptions;
}
}