Skip to content

PasteEvent

Description

Initializes the paste event with an empty ClipboardData instance.

Methods

composedPath

Source code

pasteEvent.composedPath()

Returns an empty array as a stub for the composed path of this synthetic event.

preventDefault

Source code

pasteEvent.preventDefault()

No-op implementation of preventDefault to satisfy the event interface contract.