class fwt::Clipboard

sys::Obj
  fwt::Clipboard

@Js

Source

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

getText

Str? getText()

Source

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

setText

Void setText(Str data)

Source

Set the clipboard contents to given plain text data.