mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 20:03:01 +08:00
23 lines
419 B
JavaScript
23 lines
419 B
JavaScript
/*
|
|
_ __ _ __
|
|
| | / /___ _(_) /____
|
|
| | /| / / __ `/ / / ___/
|
|
| |/ |/ / /_/ / / (__ )
|
|
|__/|__/\__,_/_/_/____/
|
|
The electron alternative for Go
|
|
(c) Lea Anthony 2019-present
|
|
*/
|
|
|
|
/* jshint esversion: 9 */
|
|
|
|
import {newRuntimeCaller} from "./runtime";
|
|
|
|
let call = newRuntimeCaller("clipboard");
|
|
|
|
export function SetText(text) {
|
|
return call("SetText", {text});
|
|
}
|
|
|
|
export function Text() {
|
|
return call("Text");
|
|
} |