constants.js — react Source File
Architecture documentation for constants.js, a javascript file in the react codebase. 0 imports, 4 dependents.
Entity Profile
Dependency Diagram
graph LR d587018b_e3d9_bf04_a734_058fe7e6a39c["constants.js"] d5e5a241_0d88_22ae_6561_9211ad78e796["CanvasPage.js"] d5e5a241_0d88_22ae_6561_9211ad78e796 --> d587018b_e3d9_bf04_a734_058fe7e6a39c e0a3b260_ea80_6b59_5c7d_18081c4333a6["CanvasPageContextMenu.js"] e0a3b260_ea80_6b59_5c7d_18081c4333a6 --> d587018b_e3d9_bf04_a734_058fe7e6a39c 651fe3e5_90b9_93e1_39f6_c335dae25ac7["HorizontalPanAndZoomView.js"] 651fe3e5_90b9_93e1_39f6_c335dae25ac7 --> d587018b_e3d9_bf04_a734_058fe7e6a39c be7fceed_f363_2288_8ab1_9e46ccc7de65["VerticalScrollView.js"] be7fceed_f363_2288_8ab1_9e46ccc7de65 --> d587018b_e3d9_bf04_a734_058fe7e6a39c style d587018b_e3d9_bf04_a734_058fe7e6a39c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
export const MOVE_WHEEL_DELTA_THRESHOLD = 1;
export const ZOOM_WHEEL_DELTA_THRESHOLD = 1;
export const MIN_ZOOM_LEVEL = 0.25;
export const MAX_ZOOM_LEVEL = 1000;
export const DEFAULT_ZOOM_LEVEL = 0.25;
Domain
Imported By
Source
Frequently Asked Questions
What does constants.js do?
constants.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What files import constants.js?
constants.js is imported by 4 file(s): CanvasPage.js, CanvasPageContextMenu.js, HorizontalPanAndZoomView.js, VerticalScrollView.js.
Where is constants.js in the architecture?
constants.js is located at packages/react-devtools-timeline/src/view-base/constants.js (domain: BabelCompiler, directory: packages/react-devtools-timeline/src/view-base).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free