MCPcopy Create free account
hub / github.com/algorithm-visualizer/algorithm-visualizer / constructor

Method constructor

src/components/App/index.js:25–39  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

23
24class App extends BaseComponent {
25 constructor(props) {
26 super(props);
27
28 this.state = {
29 workspaceVisibles: [true, true, true],
30 workspaceWeights: [1, 2, 2],
31 };
32
33 this.codeEditorRef = React.createRef();
34
35 this.ignoreHistoryBlock = this.ignoreHistoryBlock.bind(this);
36 this.handleClickTitleBar = this.handleClickTitleBar.bind(this);
37 this.loadScratchPapers = this.loadScratchPapers.bind(this);
38 this.handleChangeWorkspaceWeights = this.handleChangeWorkspaceWeights.bind(this);
39 }
40
41 componentDidMount() {
42 window.signIn = this.signIn.bind(this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected