@alanscodelog/utils
    Preparing search index...

    Type Alias FileUploadOptions

    type FileUploadOptions = {
        excludeAcceptAllOption?: false;
        multiple?: boolean;
        types?: { accept: Record<string, string[]>; description?: string }[];
        useFileSystemApi?: boolean;
    }
    Index

    Properties

    excludeAcceptAllOption?: false

    For the File System Access API only (prevents user from picking files that don't match the mime type.

    false
    
    multiple?: boolean

    Allow multiple file selection.

    false
    
    types?: { accept: Record<string, string[]>; description?: string }[]

    Array of allowed file types and extensions.

    Follows the File System Access API structure. Is converted automatically if we fall back to a native file input element.

    useFileSystemApi?: boolean

    Whether to attempt using the File System Access API, true by default.