LibWeb: Implement DataTransferItemList.remove()

This commit is contained in:
Tim Ledbetter 2025-09-05 07:23:46 +01:00 committed by Jelle Raaijmakers
commit d9341adb1e
Notes: github-actions[bot] 2025-09-12 10:31:50 +00:00
9 changed files with 84 additions and 1 deletions

View file

@ -60,6 +60,7 @@ public:
void disassociate_with_drag_data_store();
GC::Ref<DataTransferItem> add_item(DragDataStoreItem item);
void remove_item(size_t index);
bool contains_item_with_type(DragDataStoreItem::Kind, String const& type) const;
GC::Ref<DataTransferItem> item(size_t index) const;
DragDataStoreItem const& drag_data(size_t index) const;