Hi!
I'm looking for a way to listen for changes in the current item selection in Zotero (when users select different items in the library). Zotero.Notifier mainly covers database changes, but it doesn't seem to support selection change events. Is there an alternative way to detect selection changes in the Javascript API?
Otherwise, I think I can use MutationObserver on .virtualized-table-body and call ZoteroPane.getSelectedItems whenever I observe a change in the selection based on .selected.
Thanks!