mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49:11 +00:00
LibWeb: Implement the DataTransferItemList indexed getter
This commit is contained in:
parent
843f8f04a5
commit
ceb9e30d42
Notes:
github-actions[bot]
2024-08-22 12:22:27 +00:00
Author: https://github.com/trflynn89
Commit: ceb9e30d42
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1158
Reviewed-by: https://github.com/shannonbooth
6 changed files with 36 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue