ClipboardEvent Class
The copy, cut and paste events (https://w3c.github.io/clipboard-apis/#clipboard-event-interfaces). The events fired by the clipboard actions are trusted and composed, and their ClipboardEvent.ClipboardData is only associated with the clipboard while they are dispatched.
public sealed class ClipboardEvent : Event- Inheritance
EventClipboardEvent
Constructors
| Name | Description |
|---|---|
| ClipboardEvent(string, ClipboardEventInit?) | Creates a clipboard event of the given type, initialized from the optional dictionary. |
ClipboardEvent(string, ClipboardEventInit?)
ClipboardEvents.csCreates a clipboard event of the given type, initialized from the optional dictionary.
public ClipboardEvent(string type, ClipboardEventInit? eventInitDict = null)Properties
| Name | Description |
|---|---|
| ClipboardData | https://w3c.github.io/clipboard-apis/#dom-clipboardevent-clipboarddata |
ClipboardData
ClipboardEvents.cshttps://w3c.github.io/clipboard-apis/#dom-clipboardevent-clipboarddata
public DataTransfer? ClipboardData { get; }