UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

21 lines (20 loc) 688 B
import { Observable } from 'rxjs'; /** * Abstraction layer for handling the webkit file system. * This is not yet a standard spec, but is supported on both Edge and Chrome. */ export declare class WebkitFileSystem { private items; /** * Temporary solution to indicating a file object is actually a directory without fully implementing folder upload support. */ static isDirectoryPropertyName: string; constructor(items: DataTransferItemList); getFileList(): Observable<File[]>; private toFileList; private getFilesFromEntry; private getFile; private getDirectory; private readAllEntries; private readEntries; }