Blockbench Reference Docs
    Preparing search index...
    interface ImportOptions {
        errorbox?: boolean;
        extensions: string[];
        multiple?: boolean;
        readtype?: ReadType | ((file: string) => ReadType);
        resource_id?: string;
        startpath?: string;
        title?: string;
        type: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    errorbox?: boolean
    extensions: string[]

    File Extensions

    multiple?: boolean

    Allow selection of multiple elements

    readtype?: ReadType | ((file: string) => ReadType)
    resource_id?: string

    The resource identifier group, used to allow the file dialog (open and save) to remember where it was last used

    startpath?: string

    File picker start path

    title?: string

    Title of the file picker window

    type: string

    Name of the file type