dom.js — react Source File
Architecture documentation for dom.js, a javascript file in the react codebase.
Entity Profile
Source Code
// flow-typed signature: 2872ddd56ba4b4bfefacac38ebdc6087
// flow-typed version: 3e51657e95/dom/flow_>=v0.261.x
/* Files */
declare class Blob {
constructor(
blobParts?: Array<any>,
options?: {
type?: string,
endings?: string,
...
}
): void;
isClosed: boolean;
size: number;
type: string;
close(): void;
slice(start?: number, end?: number, contentType?: string): Blob;
arrayBuffer(): Promise<ArrayBuffer>;
text(): Promise<string>;
stream(): ReadableStream;
}
declare class FileReader extends EventTarget {
+EMPTY: 0;
+LOADING: 1;
+DONE: 2;
+error: null | DOMError;
+readyState: 0 | 1 | 2;
+result: null | string | ArrayBuffer;
abort(): void;
onabort: null | ((ev: ProgressEvent) => any);
onerror: null | ((ev: ProgressEvent) => any);
onload: null | ((ev: ProgressEvent) => any);
onloadend: null | ((ev: ProgressEvent) => any);
onloadstart: null | ((ev: ProgressEvent) => any);
onprogress: null | ((ev: ProgressEvent) => any);
readAsArrayBuffer(blob: Blob): void;
readAsBinaryString(blob: Blob): void;
readAsDataURL(blob: Blob): void;
readAsText(blob: Blob, encoding?: string): void;
}
declare type FilePropertyBag = {
type?: string,
lastModified?: number,
...
};
declare class File extends Blob {
constructor(
fileBits: $ReadOnlyArray<string | BufferDataSource | Blob>,
filename: string,
options?: FilePropertyBag
): void;
lastModified: number;
name: string;
}
declare class FileList {
// ... (3617 more lines)
Source
Frequently Asked Questions
What does dom.js do?
dom.js is a source file in the react codebase, written in javascript.
Where is dom.js in the architecture?
dom.js is located at flow-typed/environments/dom.js (directory: flow-typed/environments).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free