copy | oncopy event

Fires on the source element when the user copies the object or selection, adding it to the system clipboard.

Syntax

HTML Attribute <element oncopy = "handler(event)">
Event Property object.oncopy = handler;
addEventListener Method object.addEventListener("copy", handler, useCapture)

 

Event information

SynchronousYes
BubblesNo
CancelableNo

 

Event handler parameters

pEvent [in]

Type: Event

The event object.

See also

Element
beforecopy

 

 

Show:
© 2014 Microsoft