| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/parsmega.nuxt/node_modules/clipboardy/ |
Upload File : |
declare const clipboard: {
/**
Write (copy) to the clipboard asynchronously.
@param text - The text to write to the clipboard.
@example
```
import clipboard from 'clipboardy';
await clipboard.write('🦄');
await clipboard.read();
//=> '🦄'
```
*/
write(text: string): Promise<void>;
/**
Read (paste) from the clipboard asynchronously.
@example
```
import clipboard from 'clipboardy';
await clipboard.write('🦄');
await clipboard.read();
//=> '🦄'
```
*/
read(): Promise<string>;
/**
Write (copy) to the clipboard synchronously.
__Doesn't work in browsers.__
@param text - The text to write to the clipboard.
@example
```
import clipboard from 'clipboardy';
clipboard.writeSync('🦄');
clipboard.readSync();
//=> '🦄'
```
*/
writeSync(text: string): void;
/**
Read (paste) from the clipboard synchronously.
__Doesn't work in browsers.__
@example
```
import clipboard from 'clipboardy';
clipboard.writeSync('🦄');
clipboard.readSync();
//=> '🦄'
```
*/
readSync(): string;
};
export default clipboard;