diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-11-08 15:53:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-08 15:53:06 -0500 |
commit | 4e3040941038acc4f739e4077aee14cb64d3aa81 (patch) | |
tree | a9c4e19afeba313d5b9b942b4e75f7d06e44475e /ext/mixed/js/api.js | |
parent | 0cbc6523e67ccae01d1a4d7547ef38017594c149 (diff) |
Add api.isAnkiConnected (#1011)
Diffstat (limited to 'ext/mixed/js/api.js')
-rw-r--r-- | ext/mixed/js/api.js | 4 |
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}); } |