ClipboardEvent

open class ClipboardEvent(val type: EventType<ClipboardEvent>, init: ClipboardEventInit = definedExternally) : Event(source)

The ClipboardEvent interface of the Clipboard API represents events providing information related to modification of the clipboard, that is Element/cut_event, Element/copy_event, and Element/paste_event events.

MDN Reference

Constructors

Link copied to clipboard
constructor(type: EventType<ClipboardEvent>, init: ClipboardEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The clipboardData property of the ClipboardEvent interface holds a DataTransfer object, which can be used to: - specify what data should be put into the clipboard from the Element/cut_event and Element/copy_event event handlers, typically with a DataTransfer.setData call; - obtain the data to be pasted from the Element/paste_event event handler, typically with a DataTransfer.getData call.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val type: EventType<ClipboardEvent>

Functions

Link copied to clipboard
open override fun asInit(): ClipboardEventInit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard