JavaScripture
Contribute via GitHub Feedback

Clipboard : EventTarget

Provides access to the system cut/copy/paste clipboard.

Instance Methods

Example:

Run

Results:

 

readText() : Promise<String>

Example:

Run

Results:

 

write(items : Iterable<ClipboardItem>) : Promise<undefined>

Example:

Run

Results:

 

writeText(text : String) : Promise<undefined>

Example:

Run

Results: