mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 00:19:18 +00:00
LibWeb: Implement DataTransferItemList.remove()
This commit is contained in:
parent
8ab3549585
commit
d9341adb1e
Notes:
github-actions[bot]
2025-09-12 10:31:50 +00:00
Author: https://github.com/tcl3
Commit: d9341adb1e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6088
Reviewed-by: https://github.com/gmta
9 changed files with 84 additions and 1 deletions
|
@ -47,6 +47,7 @@ public:
|
|||
~DragDataStore();
|
||||
|
||||
void add_item(DragDataStoreItem item) { m_item_list.append(move(item)); }
|
||||
void remove_item_at(size_t const& index) { m_item_list.remove(index); }
|
||||
ReadonlySpan<DragDataStoreItem> item_list() const { return m_item_list; }
|
||||
size_t size() const { return m_item_list.size(); }
|
||||
bool has_text_item() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue