MCPcopy
hub / github.com/ranuts/document / Window

Interface Window

index.ts:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16declare global {
17 interface Window {
18 onCreateNew: (ext: string) => Promise<void>;
19 hideControlPanel?: () => void;
20 showControlPanel?: () => void;
21 DocsAPI: {
22 DocEditor: new (elementId: string, config: any) => any;
23 };
24 }
25}
26
27// Initialize events

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected