MCPcopy Create free account
hub / github.com/MrNothing/AI-Blocks / componentDidMount

Method componentDidMount

Sources/src/Model/UI/Modules/Chart.js:62–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60 }
61
62 componentDidMount() {
63 let ctx = document.getElementById(this.props.id);
64 this.state.chart = new Chart(ctx, {
65 type: (this.props.type+"").trim(),
66 data: this.state.data,
67 options: {}
68 });
69 }
70
71 updateChart()
72 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected