bom.js — react Source File
Architecture documentation for bom.js, a javascript file in the react codebase.
Entity Profile
Relationship Graph
Source Code
// flow-typed signature: 09630545c584c3b212588a2390c257d0
// flow-typed version: baae4b8bcc/bom/flow_>=v0.261.x
/* BOM */
declare class Screen {
+availHeight: number;
+availWidth: number;
+availLeft: number;
+availTop: number;
+top: number;
+left: number;
+colorDepth: number;
+pixelDepth: number;
+width: number;
+height: number;
+orientation?: {
lock(): Promise<void>,
unlock(): void,
angle: number,
onchange: () => mixed,
type:
| 'portrait-primary'
| 'portrait-secondary'
| 'landscape-primary'
| 'landscape-secondary',
...
};
// deprecated
mozLockOrientation?: (orientation: string | Array<string>) => boolean;
mozUnlockOrientation?: () => void;
mozOrientation?: string;
onmozorientationchange?: (...args: any[]) => mixed;
}
declare var screen: Screen;
declare interface Crypto {
// Not using $TypedArray as that would include Float32Array and Float64Array which are not accepted
getRandomValues: <
T:
| Int8Array
| Uint8Array
| Uint8ClampedArray
| Int16Array
| Uint16Array
| Int32Array
| Uint32Array
| BigInt64Array
| BigUint64Array,
>(
typedArray: T
) => T;
randomUUID: () => string;
}
declare var crypto: Crypto;
declare var window: any;
type GamepadButton = {
// ... (2660 more lines)
Classes
Source
Frequently Asked Questions
What does bom.js do?
bom.js is a source file in the react codebase, written in javascript.
Where is bom.js in the architecture?
bom.js is located at flow-typed/environments/bom.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