We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the latest version method read() returns a promise of ClipboardItems:
read()
[SecureContext, Exposed=Window] interface Clipboard : EventTarget { Promise<ClipboardItems> read(); Promise<DOMString> readText(); Promise<undefined> write(ClipboardItems data); Promise<undefined> writeText(DOMString data); };
But in kotlinx-browser it's a promise of DataTransfer:
[SecureContext, Exposed=Window] interface Clipboard : EventTarget { Promise<DataTransfer> read(); Promise<DOMString> readText(); Promise<void> write(DataTransfer data); Promise<void> writeText(DOMString data); };
https://www.w3.org/TR/clipboard-apis/#idl-index
The text was updated successfully, but these errors were encountered:
yeah unfortunately the idls are very outdated and even some of them are missing
Sorry, something went wrong.
No branches or pull requests
In the latest version method
read()
returns a promise of ClipboardItems:[SecureContext, Exposed=Window]
interface Clipboard : EventTarget {
Promise<ClipboardItems> read();
Promise<DOMString> readText();
Promise<undefined> write(ClipboardItems data);
Promise<undefined> writeText(DOMString data);
};
But in kotlinx-browser it's a promise of DataTransfer:
https://www.w3.org/TR/clipboard-apis/#idl-index
The text was updated successfully, but these errors were encountered: