aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
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 43db1562..947f1cd8 100644
--- a/ext/mixed/js/api.js
+++ b/ext/mixed/js/api.js
@@ -69,6 +69,10 @@ const api = (() => {
return this._invoke('kanjiFind', {text, optionsContext});
}
+ isAnkiConnected() {
+ return this._invoke('isAnkiConnected');
+ }
+
addAnkiNote(note) {
return this._invoke('addAnkiNote', {note});
}