oncopy of type Function

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

To invoke, right-click and select Copy from the shortcut menu, or press Ctrl+C.

  • Bubbles: Yes

  • Cancelable: Yes

  • Context Info: dataTransfer

This attribute is an extension of HTMLElement.

See also onbeforecopy, oncut, onpaste.