()
| 117 | } |
| 118 | }; |
| 119 | const openPlot = () => { |
| 120 | if (this.props.ctx.postMessage) { |
| 121 | this.props.ctx.postMessage({ |
| 122 | type: 'openImageInPlotViewer', |
| 123 | outputId: this.props.outputId, |
| 124 | mimeType: this.props.mimeType |
| 125 | } as OpenImageInPlotViewer); |
| 126 | } |
| 127 | }; |
| 128 | const copyPlotImage = () => { |
| 129 | void writeImageToClipboard(data as Blob); |
| 130 | }; |
nothing calls this directly
no test coverage detected