mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibWeb: Implement the DataTransferItemList length attribute
This commit is contained in:
parent
74d9cfbf2a
commit
843f8f04a5
Notes:
github-actions[bot]
2024-08-22 12:22:32 +00:00
Author: https://github.com/trflynn89
Commit: 843f8f04a5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1158
Reviewed-by: https://github.com/shannonbooth
8 changed files with 31 additions and 5 deletions
|
@ -48,6 +48,7 @@ public:
|
|||
|
||||
void add_item(DragDataStoreItem item) { m_item_list.append(move(item)); }
|
||||
ReadonlySpan<DragDataStoreItem> item_list() const { return m_item_list; }
|
||||
size_t size() const { return m_item_list.size(); }
|
||||
bool has_text_item() const;
|
||||
|
||||
Mode mode() const { return m_mode; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue