Clipboard::Data
Clipboard data.
Type | Object |
Properties
Clipboard::Data::Type
type
The type of data.
Any
value
The value of data.
The type of value
depends on the type
of data:
- for
text
andhtml
types, thevalue
is a string; - for
image
type, thevalue
isImage
. - for
file-paths
type, the value is an array of string; - if the data is invalid, the
value
would be null.