Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
20
third-party/vendor/web-sys/webidls/unstable/Share.webidl
vendored
Normal file
20
third-party/vendor/web-sys/webidls/unstable/Share.webidl
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/*
|
||||
* API for sharing text, links and other content to an arbitrary destination of the user's choice.
|
||||
* W3C Working Draft, 22 November 2021
|
||||
* The origin of this IDL file is:
|
||||
* https://www.w3.org/TR/web-share
|
||||
*/
|
||||
|
||||
partial interface Navigator {
|
||||
[SecureContext] Promise<undefined> share(optional ShareData data = {});
|
||||
|
||||
[SecureContext] boolean canShare(optional ShareData data = {});
|
||||
};
|
||||
|
||||
dictionary ShareData {
|
||||
sequence<File> files;
|
||||
USVString title;
|
||||
USVString text;
|
||||
USVString url;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue