Table of Contents

Class ClipboardEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The ClipboardEvent interface of the Clipboard API represents events providing information related to modification of the clipboard, that is Elementcut, Elementcopy, and Elementpaste events.

[Value("ClipboardEvent")]
public class ClipboardEvent : Event
Inheritance
ClipboardEvent
Inherited Members

Remarks

-Copy-related events: Elementcopy, Elementcut, Elementpaste
-Clipboard API
-Image support for Async Clipboard article

See also on MDN

Constructors

ClipboardEvent()

public ClipboardEvent()

ClipboardEvent(string, ClipboardEventInit)

The ClipboardEvent() constructor returns a new ClipboardEvent, representing an event providing information related to modification of the clipboard, that is Elementcut, Elementcopy, and Elementpaste events.

public ClipboardEvent(string type, ClipboardEventInit eventInitDict = null)

Parameters

type string
eventInitDict ClipboardEventInit

Remarks

-Copy-related events: Elementcopy, Elementcut, Elementpaste
-The ClipboardEvent interface it belongs to.
-Clipboard API

See also on MDN

Properties

ClipboardData

The clipboardData property of the ClipboardEvent interface holds a DataTransfer object, which can be used to:

[Value("clipboardData")]
public DataTransfer? ClipboardData { get; }

Property Value

DataTransfer

A DataTransfer object.The property can be null when the event is created using the constructor. It is never null when dispatched by the browser.

Remarks

See the Elementcut, Elementcopy, and Elementpaste events documentation for more information.

-Copy-related events: Elementcopy, Elementcut, Elementpaste
-The ClipboardEvent interface it belongs to.
-Clipboard API

See also on MDN