The javascript function for 'Move Item to Trash'
Hello here.
I would like to know the javascript function for 'Move Item to trash' or 'Move the selected items to trash', I do not find it on https://www.zotero.org/support/dev/client_coding/javascript_api.
I would like to use
to select some items, and remove them using JS.
Many thanks.
I would like to know the javascript function for 'Move Item to trash' or 'Move the selected items to trash', I do not find it on https://www.zotero.org/support/dev/client_coding/javascript_api.
I would like to use
var items = Zotero.getActiveZoteroPane().getSelectedItems();
to select some items, and remove them using JS.
Many thanks.
item.deleted = true;
await item.saveTx();