boxWrap() — react Function Reference
Architecture documentation for the boxWrap() function in Overlay.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 9d28a1e3_1388_22be_2119_74a897d38b73["boxWrap()"] 5b39fc3a_1731_1aaf_f727_b3222027f445["Overlay.js"] 9d28a1e3_1388_22be_2119_74a897d38b73 -->|defined in| 5b39fc3a_1731_1aaf_f727_b3222027f445 9e063716_c791_abaa_dcb9_deeb564103d2["update()"] 9e063716_c791_abaa_dcb9_deeb564103d2 -->|calls| 9d28a1e3_1388_22be_2119_74a897d38b73 style 9d28a1e3_1388_22be_2119_74a897d38b73 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-devtools-shared/src/backend/views/Highlighter/Overlay.js lines 314–322
function boxWrap(dims: any, what: string, node: HTMLElement) {
assign(node.style, {
borderTopWidth: dims[what + 'Top'] + 'px',
borderLeftWidth: dims[what + 'Left'] + 'px',
borderRightWidth: dims[what + 'Right'] + 'px',
borderBottomWidth: dims[what + 'Bottom'] + 'px',
borderStyle: 'solid',
});
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does boxWrap() do?
boxWrap() is a function in the react codebase, defined in packages/react-devtools-shared/src/backend/views/Highlighter/Overlay.js.
Where is boxWrap() defined?
boxWrap() is defined in packages/react-devtools-shared/src/backend/views/Highlighter/Overlay.js at line 314.
What calls boxWrap()?
boxWrap() is called by 1 function(s): update.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free