universal-clipboard
clipboard ability to achieve.
Support
Install
$ npm install universal-clipboard --save
Usage
; // How to use it in quickapp// import Clipboard from 'universal-clipboard/lib/quickapp; Clipboard; Clipboard;
Methods
readText(): Promise.<text>
Get clipboard value.
Support
Arguments
Property | Type | Description | Default |
---|---|---|---|
text | string |
get clipboard value | - |
writeText(text: string): Promise.<>
Set clipboard value.
Support
Arguments
Property | Type | Description | Default |
---|---|---|---|
text | string |
set clipboard value | - |