Optional
doIf this is not specified then native paste will still be attempted.
A method that allows or focus to be called. (and supports an addEventListener('focus'))
Optional
importCreates a ReferenceableClipboardItem
from native clipboard items (text, html, or images). This is used to
import external clipboard data into an 'internal clipboard' representation.
Native clipboard items.
Optional
options: ReferenceableClipboard.CopyOptionsAdditional arguments for creating the ReferenceableClipboardItem
.
A ReferenceableClipboardItem
(or a Promise resolving to one) if successful;
null
if the data cannot be converted or the operation should be aborted.
A clipboard target is an interface will read items from the clipboard.