LibWeb: Implement the DataTransferItemList indexed getter

This commit is contained in:
Timothy Flynn 2024-08-21 10:04:16 -04:00 committed by Andreas Kling
commit ceb9e30d42
Notes: github-actions[bot] 2024-08-22 12:22:27 +00:00
6 changed files with 36 additions and 1 deletions

View file

@ -61,6 +61,7 @@ public:
JS::NonnullGCPtr<DataTransferItem> add_item(DragDataStoreItem item);
bool contains_item_with_type(DragDataStoreItem::Kind, String const& type) const;
JS::NonnullGCPtr<DataTransferItem> item(size_t index) const;
size_t length() const;
private: