mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-26 09:59:43 +00:00
LibWeb: Implement DataTransfer.set_data()
This commit is contained in:
parent
6fa32fbf69
commit
c1ff2a845c
Notes:
github-actions[bot]
2025-10-10 07:03:26 +00:00
Author: https://github.com/lukasxcs 🔰
Commit: c1ff2a845c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5846
Reviewed-by: https://github.com/tcl3 ✅
5 changed files with 189 additions and 1 deletions
|
|
@ -56,6 +56,7 @@ public:
|
|||
ReadonlySpan<String> types() const;
|
||||
DEFINE_CACHED_ATTRIBUTE(types);
|
||||
String get_data(String const& format) const;
|
||||
void set_data(String const& format_argument, String const& value);
|
||||
void clear_data(Optional<String> maybe_format = {});
|
||||
GC::Ref<FileAPI::FileList> files() const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue