constructor() — react Function Reference
Architecture documentation for the constructor() function in VerticalScrollView.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 37f0fa7a_a424_f502_b9ca_72177675b329["constructor()"] 15e8ee71_cd71_e6f6_40e5_59e8feb4985d["VerticalScrollView"] 37f0fa7a_a424_f502_b9ca_72177675b329 -->|defined in| 15e8ee71_cd71_e6f6_40e5_59e8feb4985d c14bc79d_a240_8e4b_ea22_b67a585c3646["constructor()"] c14bc79d_a240_8e4b_ea22_b67a585c3646 -->|calls| 37f0fa7a_a424_f502_b9ca_72177675b329 fab01b1f_059e_02e3_e192_f5ea56188371["_restoreMutableViewState()"] 37f0fa7a_a424_f502_b9ca_72177675b329 -->|calls| fab01b1f_059e_02e3_e192_f5ea56188371 999fea7d_fde4_a746_f8df_4b2a9c29d709["constructor()"] 37f0fa7a_a424_f502_b9ca_72177675b329 -->|calls| 999fea7d_fde4_a746_f8df_4b2a9c29d709 style 37f0fa7a_a424_f502_b9ca_72177675b329 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-devtools-timeline/src/view-base/VerticalScrollView.js lines 50–72
constructor(
surface: Surface,
frame: Rect,
contentView: View,
viewState: ViewState,
label: string,
) {
super(surface, frame);
this._contentView = contentView;
this._isPanning = false;
this._mutableViewStateKey = label + ':VerticalScrollView';
this._onChangeCallback = null;
this._scrollState = {
offset: 0,
length: 0,
};
this._viewState = viewState;
this.addSubview(contentView);
this._restoreMutableViewState();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does constructor() do?
constructor() is a function in the react codebase, defined in packages/react-devtools-timeline/src/view-base/VerticalScrollView.js.
Where is constructor() defined?
constructor() is defined in packages/react-devtools-timeline/src/view-base/VerticalScrollView.js at line 50.
What does constructor() call?
constructor() calls 2 function(s): _restoreMutableViewState, constructor.
What calls constructor()?
constructor() is called by 1 function(s): constructor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free