aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed/js')
-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 c840adca..32dd332e 100644
--- a/ext/mixed/js/api.js
+++ b/ext/mixed/js/api.js
@@ -73,6 +73,10 @@ const api = (() => {
return this._invoke('isAnkiConnected');
}
+ getAnkiConnectVersion() {
+ return this._invoke('getAnkiConnectVersion');
+ }
+
addAnkiNote(note) {
return this._invoke('addAnkiNote', {note});
}