MCPcopy Create free account
hub / github.com/uiwjs/react-codemirror / onStatistics

Method onStatistics

core/src/index.tsx:60–60  ·  view source on GitHub ↗

Some data on the statistics editor.

(data: Statistics)

Source from the content-addressed store, hash-verified

58 onChange?(value: string, viewUpdate: ViewUpdate): void;
59 /** Some data on the statistics editor. */
60 onStatistics?(data: Statistics): void;
61 /** Fired whenever any state change occurs within the editor, including non-document changes like lint results. */
62 onUpdate?(viewUpdate: ViewUpdate): void;
63 /** The first time the editor executes the event. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected