Variable LoaderUtilsConst

LoaderUtils: {
    createFilesMap: ((files) => FileMap);
    getFilesFromItemList: ((items, onDone) => void);
} = ...

Utility functions for loaders.

Type declaration

  • createFilesMap: ((files) => FileMap)
      • (files): FileMap
      • Create a map of files.

        Parameters

        • files: any

          Files to create the map from.

        Returns FileMap

        A file map

  • getFilesFromItemList: ((items, onDone) => void)
      • (items, onDone): void
      • Get files from a list of items.

        Parameters

        • items: DataTransferItem[]

          Items to get the files from.

        • onDone: ((files, filesMap) => void)

          Callback called when the files are retrieved.

            • (files, filesMap): void
            • Parameters

              Returns void

        Returns void

Generated using TypeDoc