summaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-06 14:38:03 -0400
committerGitHub <noreply@github.com>2020-09-06 14:38:03 -0400
commit115afb63b90b8e6841061bbf8d67e82cab42958b (patch)
tree9eebcad5518f3ec1f759e0632044e6c987a6aa7e /ext/mixed
parentb28241dbf23b627e252348aa0445e4e7befe01fc (diff)
Add api.clipboardGetImage (#778)
* Rename clipboardPasteTarget to just target * Remove else block * Add helper functions * Defer assignment of clipboard paste target * Add api.clipboardGetImage
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js
index a6ac227e..63b3a3c0 100644
--- a/ext/mixed/js/api.js
+++ b/ext/mixed/js/api.js
@@ -133,6 +133,10 @@ const api = (() => {
return this._invoke('clipboardGet');
}
+ clipboardGetImage() {
+ return this._invoke('clipboardGetImage');
+ }
+
getDisplayTemplatesHtml() {
return this._invoke('getDisplayTemplatesHtml');
}