w3c / clipboard-apis

Clipboard API and events
https://w3c.github.io/clipboard-apis/
Other
143 stars 41 forks source link

Why does the Clipboard interface extends EventTarget? #186

Open gfox1984 opened 1 year ago

gfox1984 commented 1 year ago

According the draft, the Clipboard interface extends EventsTarget: https://w3c.github.io/clipboard-apis/#clipboard-interface

However, there's no definition of the events supported by the clipboard itself. All examples show events being attached to the document (cut, copy, paste), and there's no indication regarding the "clipboardchange" event (does it fire on the window?).

Did I miss something?