web-sys 0.3.69

Bindings for all Web APIs, a procedurally generated crate from WebIDL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
 * Clipboard API and events
 * Editor’s Draft, 21 November 2023
 *
 * The origin of this IDL file is:
 * https://w3c.github.io/clipboard-apis/#clipboard-event-interfaces
 */

dictionary ClipboardEventInit : EventInit {
  DataTransfer? clipboardData = null;
};

[Exposed=Window]
interface ClipboardEvent : Event {
  constructor(DOMString type, optional ClipboardEventInit eventInitDict = {});
  readonly attribute DataTransfer? clipboardData;
};