web-share.idl (469B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Web Share API (https://w3c.github.io/web-share/) 5 6 partial interface Navigator { 7 [SecureContext] Promise<undefined> share(optional ShareData data = {}); 8 [SecureContext] boolean canShare(optional ShareData data = {}); 9 }; 10 11 dictionary ShareData { 12 sequence<File> files; 13 USVString title; 14 USVString text; 15 USVString url; 16 };