The javascript function for 'Move Item to Trash'

edited March 7, 2021
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

var items = Zotero.getActiveZoteroPane().getSelectedItems();

to select some items, and remove them using JS.

Many thanks.
Sign In or Register to comment.