ClipboardPlugin.write()
PluginClipboardPluginwriteLess than 1 minute
Writes data to the clipboard.
ClipboardPlugin.write(data);
Parameters
data:
The data to write, passed as a ClipboardWriteOptions object.
Returns
A Promise.
Example
import { clipboardPlugin } from "@plaoc/plugins";
clipboardPlugin.write({string: "test"});
Platform Compatibility
Property/Method/Event | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
write | ✅ | ✅ | ✅ | X |
See Also
Powered by Waline v2.15.7