mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
indicate that card_will_show belong to multiple windows
This commit is contained in:
parent
6828b98c99
commit
5c5860eabc
1 changed files with 3 additions and 0 deletions
|
@ -114,6 +114,9 @@ hooks = [
|
||||||
legacy_hook="reviewCleanup",
|
legacy_hook="reviewCleanup",
|
||||||
doc="Called before Anki transitions from the review screen to another screen.",
|
doc="Called before Anki transitions from the review screen to another screen.",
|
||||||
),
|
),
|
||||||
|
# Multiple windows
|
||||||
|
###################
|
||||||
|
# reviewer, clayout and browser
|
||||||
Hook(
|
Hook(
|
||||||
name="card_will_show",
|
name="card_will_show",
|
||||||
args=["text: str", "card: Card", "kind: str"],
|
args=["text: str", "card: Card", "kind: str"],
|
||||||
|
|
Loading…
Reference in a new issue