MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / showError

Function showError

examples/basic-line/main.ts:30–35  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

28};
29
30const showError = (message: string): void => {
31 const el = document.getElementById('error');
32 if (!el) return;
33 el.textContent = message;
34 el.style.display = 'block';
35};
36
37async function main() {
38 const container = document.getElementById('chart');

Callers 1

main.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected