Issue reading thunderbird webextension documentaion

Hi all,

i try to understand this webextension example (line 2):

After reading the documentation:

https://thunderbird-webextensions.readthedocs.io/en/68/mailTabs.html#onselectedmessageschanged

I still have no clue, why (tab, messageList) is the correct argument for the event listener? Where can I get this kind of information? What did I miss to read?

Regards, Michael

The link points to the Thunderbird 68, if you check the current 78, you will see the info about those parameters:
https://thunderbird-webextensions.readthedocs.io/en/78/mailTabs.html#onselectedmessageschanged-tab-selectedmessages

But I agree that the Thunderbird docs are much harder to navigate than MDN.

1 Like