Skip to content

Clipboard#{read,write} are wrong #730

Closed
@armanbilge

Description

@armanbilge

According to the MDN docs, read and write should be in terms of a js.Array[ClipboardItem]. But that's not what a DataTransfer is ...

https://developer.mozilla.org/en-US/docs/Web/API/Clipboard

def read(): js.Promise[DataTransfer] = js.native

def write(data: DataTransfer): js.Promise[Unit] = js.native

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions