clipboardData property

dynamic clipboardData

Holds a DataTransfer object, which can be used:

  • to specify what data should be put into the clipboard from the cut and copy event handlers, typically with a setData(format, data) call;
  • to obtain the data to be pasted from the paste event handler, typically with a getData(format) call.

See: developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent/clipboardData

Implementation

external get clipboardData;