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

Function showError

examples/million-points/main.ts:14–19  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

12import type { ZoomRange, ZoomState } from '../../src/interaction/createZoomState';
13
14const showError = (message: string): void => {
15 const el = document.getElementById('error');
16 if (!el) return;
17 el.textContent = message;
18 el.style.display = 'block';
19};
20
21const setText = (id: string, text: string): void => {
22 const el = document.getElementById(id);

Callers 2

mainFunction · 0.70
main.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected