We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7715097 commit b133560Copy full SHA for b133560
1 file changed
js/src/viz-core.ts
@@ -1,11 +1,14 @@
1
+// Browser runtime for the Visualize tool card display footer. This powers the
2
+// "Show Query" toggle, the custom "Save" menu, and the PNG/SVG export buttons.
3
+// The export path is slightly hacky because Vega owns the real download links,
4
+// so this file proxies those downloads through the footer buttons we control.
5
type ExportFormat = "png" | "svg";
6
type QuerychatAction =
7
| "show-query"
8
| "save-toggle"
9
| "save-png"
10
| "save-svg"
11
| "copy";
-
12
export interface VizRuntimeAdapter {
13
exportPlot(widgetId: string, format: ExportFormat, filename: string): void;
14
}
0 commit comments