updateText() — react Function Reference
Architecture documentation for the updateText() function in Overlay.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD efd600ea_16fe_ceff_8507_560b279c8d93["updateText()"] 408e1017_1239_4514_a7fe_1640babfc1dd["OverlayTip"] efd600ea_16fe_ceff_8507_560b279c8d93 -->|defined in| 408e1017_1239_4514_a7fe_1640babfc1dd ca452625_274e_0064_ef00_337501859e94["inspect()"] ca452625_274e_0064_ef00_337501859e94 -->|calls| efd600ea_16fe_ceff_8507_560b279c8d93 style efd600ea_16fe_ceff_8507_560b279c8d93 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-devtools-shared/src/backend/views/Highlighter/Overlay.js lines 134–138
updateText(name: string, width: number, height: number) {
this.nameSpan.textContent = name;
this.dimSpan.textContent =
Math.round(width) + 'px × ' + Math.round(height) + 'px';
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does updateText() do?
updateText() is a function in the react codebase, defined in packages/react-devtools-shared/src/backend/views/Highlighter/Overlay.js.
Where is updateText() defined?
updateText() is defined in packages/react-devtools-shared/src/backend/views/Highlighter/Overlay.js at line 134.
What calls updateText()?
updateText() is called by 1 function(s): inspect.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free