copy result set as tsv #50

This commit is contained in:
lana-k
2021-08-20 18:06:58 +02:00
parent bb39dcbc2f
commit 6dc81f7be6
3 changed files with 42 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
import Lib from 'plotly.js/src/lib'
export default {
async copyCsv (str) {
await navigator.clipboard.writeText(str)
Lib.notifier('CSV copied to clipboard successfully', 'long')
}
}