ClipboardChangeEvent Class

The clipboardchange event (https://w3c.github.io/clipboard-apis/#clipboardchangeevent), fired at navigator.clipboard when the system clipboard changes.

public sealed class ClipboardChangeEvent : Event
Inheritance
Event ClipboardChangeEvent

Constructors

NameDescription
ClipboardChangeEvent(string, ClipboardChangeEventInit?)Creates a clipboard change event of the given type, initialized from the optional dictionary.

ClipboardChangeEvent(string, ClipboardChangeEventInit?)

ClipboardEvents.cs

Creates a clipboard change event of the given type, initialized from the optional dictionary.

public ClipboardChangeEvent(string type, ClipboardChangeEventInit? eventInitDict = null)

Properties

NameDescription
ChangeIdGets the identifier of the change of the clipboard (https://w3c.github.io/clipboard-apis/#dom-clipboardchangeevent-changeid).
TypesGets the mandatory data types available on the system clipboard (https://w3c.github.io/clipboard-apis/#dom-clipboardchangeevent-types).

Gets the identifier of the change of the clipboard (https://w3c.github.io/clipboard-apis/#dom-clipboardchangeevent-changeid).

public BigInteger ChangeId { get; }

Gets the mandatory data types available on the system clipboard (https://w3c.github.io/clipboard-apis/#dom-clipboardchangeevent-types).

public IReadOnlyList<string> Types { get; }