abstract class vaseWindow::Clipboard

sys::Obj
  vaseWindow::Clipboard

@Js

Clipboard provides access to the system clipboard for data transfer. Access is via Desktop.clipboard.

getText

abstract Str? getText(Func<Void,Str?> callback)

Get the current clipboard contents as plain text or null if clipboard doesn't contain text data.

setText

abstract Void setText(Str data)

Set the clipboard contents to given plain text data.